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

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -