Same algorithm, same string, same salt, different result?
I'm using the Blowfish algorithm for encrypting passwords in my application.
After reinstalling Ubuntu on the server, the output of this algorithm has changed - though I'm trying the same string and the same salt.
Any ideas on why this happens or how to solve it? Thanks in advance.
I'm using the native PHP crypt implementation on an Ubuntu Server (11.04). Befo开发者_StackOverflow社区re I had the version 10.10.
Maybe you change the encoding type. Make sure that you are using the same encodind type for the both encrypt operation.
精彩评论