阅读背景:

如何创建md5哈希作为crypt函数使用md5函数生成md5盐,而不是crypt函数?

来源:互联网 

I prefer using crypt function in php for password encryption and other one way encryption requirements. Because I can use any supported encryption algorithm, by changing the salt and there are few other advantages. Normally, I don't use any salt and it takes a random MD5 salt. I save this encryption string as password hash on the database, and while authenticating the user, I use this as salt to the crypt function. It works fine in php. But when it's needed any other programing language to create a hash, while I am using crypt function in the php part of the function, we were into problem.I prefer using crypt function in php for passwo




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: