Currently it seems default is set to PasswordHasherCompatibilityMode.IdentityV2
which is HMAC-SHA1 in ASP.NET 5. I tried to create a instance of PasswordHasherOptions
to add to services (DI) but could not get it to work.
V3 uses PBKDF2 with HMAC-SHA256, 128-bit salt, 256-bit subkey, 10000 iterations.
I hope this would be as easy as some configuration setting in future rather than having to implement custom implementation since all the code is already there.
Update:
services.Configure<PasswordHasherOptions>(options => options.CompatibilityMode = PasswordHasherCompatibilityMode.IdentityV3);