2

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?

1
  • 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. Commented Sep 29, 2014 at 19:56

2 Answers 2

2

I found the alternative I was looking for: System.Web.Helpers.Crypto contains everything I need including HashPassword and VerifyHashedPassword.

Sign up to request clarification or add additional context in comments.

Comments

0

Just take the decompiled code from Identity and add it to your project.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.