The Default Hash Algorithm in .NET 4.0 is HMACSHA256 instead of SHA1

Feb 1, 2015 at 11:44 AM
Hi guys,
I spent a half day to resolve the issues in the migration from System.Web.Providers to ASP.NET Identity 2.1.0.
I surprisedly found out that the detault hash algorithm in 4.0 is HMACSHA256 instead of SHA1.
It wasted me several hours to find this out and I have summarized the resolution here in case you didn't know this change either.

ASP.NET Membership Default Password Hash Algorithms in .NET 4.x and Previous Versions