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:
You should use Adaptive hashing like http://en.wikipedia.org/wiki/Bcrypt for securing passwords