Working on a simple claims based identity and authentication system for web api that doesn't rely on the entire Asp.Net Identity framework. Is there a way to use PasswordHasher.HashPassword and PasswordHasher.VerifyPassword as helper methods for hashing and verifying passwords? If not, is there anything in the .NET Framework that provides this functionality so that one (who is not an expert security programmer) doesn't need to write algorithms for password hashing and parsing?
-
No there isn't but writing a hashing algorithm is old hat by now and there are thousands of examples (many on this site) about it.jimSampica– jimSampica2014-09-29 19:56:02 +00:00Commented Sep 29, 2014 at 19:56
Add a comment
|
2 Answers
I found the alternative I was looking for: System.Web.Helpers.Crypto contains everything I need including HashPassword and VerifyHashedPassword.