Skip to content

Repository files navigation

Argon2 Password Hasher for ASP.NET Core Identity

NuGet

An implementation of IPasswordHasher using libsodium-core.

Installation

services.AddIdentity<TUser, TRole>();
services.AddScoped<IPasswordHasher<TUser>, Argon2PasswordHasher<TUser>>();

Options

  • Strength: Argon2HashStrength

Register with:

services.Configure<Argon2PasswordHasherOptions>(options => {
    options.Strength = Argon2HashStrength.Interactive;
});

.NET Support

This library supports Current and LTS versions of .NET.

About

ASP.NET Core Identity IPasswordHasher implementation using Argon2

Topics

Resources

Security policy

Stars

24 stars

Watchers

4 watching

Forks

Releases

Packages

Used by

Contributors

Languages