Update SHA256 hashing into SQL Server Database in C# -
i want hash user password in sql server c#, followed instruction found in http://www.codeproject.com/articles/608860/understanding-and-implementing-password-hashing link , created user table 3 columns
userid nvarchar(250) userpassword nvarchar(max) usersalt nvarchar(50).
it works fine when insert user , can log in correctly, when update userpassword
, usersalt
, can not log in updated user, saying userpassword
, usersalt
incorrect.
any advise follow?
Comments
Post a Comment