How to reproduce the password hash created by asp.net MVC default membership

yadavv

New Member
I use asp.net MVC 4 default membership system, and the client needs to send a signature includes his hashed password, for authentication.I need to hash a password just the same as hashed password by server.\[code\] private static bool IsAuthenticated(string hashedPassword, string message, string signature) { if (string.IsNullOrEmpty(hashedPassword)) return false; var verifiedHash = ComputeHash(hashedPassword, message); if (signature != null && signature.Equals(verifiedHash)) return true; return false; }\[/code\]So how can I reproduce the hashed password like stored password on the database?
 
Back
Top