I am using webmatrix and have built a starter site.
Members passwords are hashed and stored in the database by the default webmatrix method used in CreateAccount.
I now need to validate a password against the hashed value in the database OUTSIDE of webmatrix, i.e. in a webservice.
What is the call to Encrypt the text password using the same algorithm that webmatrix uses? e.g.
myHashedPassword = Crypto.Hash(Password, "sha1") or myHashedPassword = Crypto.Hash(Password, "sha256")
I should then be able to compare the hashed password with that of the value in the database, if they match.... all is good!!!!
Thanks in advance
View Complete Post