Which Hashing Algorithm aspnet identity 2.0 uses to hash password. Is it SHA1 or SHA256 ? Is it possible to change to SHA2 if it uses SHA1 ?
Asked
Active
Viewed 776 times
0
-
Possible duplicate of [ASP.NET Identity default Password Hasher, how does it work and is it secure?](http://stackoverflow.com/questions/20621950/asp-net-identity-default-password-hasher-how-does-it-work-and-is-it-secure) – trailmax Jan 20 '17 at 22:51
-
And http://stackoverflow.com/questions/19957176/asp-net-identity-password-hashing – trailmax Jan 20 '17 at 22:52
2 Answers
0
Asp.net Identity 2.0 uses SHA1. It relies on Rfc2898DeriveBytes
and does not have any SHA256 option--you'd have to write your own implementation.
Asp.net Identity 3.0 does have an SHA256 option though.

Matthew
- 4,149
- 2
- 26
- 53