Reputation: 3939
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?
Upvotes: 2
Views: 1805
Reputation: 3939
I found the alternative I was looking for: System.Web.Helpers.Crypto contains everything I need including HashPassword
and VerifyHashedPassword
.
Upvotes: 1
Reputation: 35106
Just take the decompiled code from Identity and add it to your project.
Upvotes: 0