How to use sha256 in php5.3.0

后端 未结 5 1768
时光取名叫无心
时光取名叫无心 2021-02-01 01:32

I\'m using sha256 to encrypt the password. I can save the sha256 encrypted password in mysql. But i can\'t login with the same clause.

Insert code:



        
5条回答
  •  无人及你
    2021-02-01 01:59

    You should use Adaptive hashing like http://en.wikipedia.org/wiki/Bcrypt for securing passwords

提交回复
热议问题