An implementation of IPasswordHasher using libsodium-core.
services.AddIdentity<TUser, TRole>();
services.AddScoped<IPasswordHasher<TUser>, Argon2PasswordHasher<TUser>>();
- Strength: Argon2HashStrength
Register with:
services.Configure<Argon2PasswordHasherOptions>(options => {
options.Strength = Argon2HashStrength.Interactive;
});
This library supports Current and LTS versions of .NET.