ASP.NET Password Hash Generator
Generate a real ASP.NET Core Identity-format password hash (PBKDF2-HMACSHA256, format marker v3) - not the legacy ASP.NET Membership format.
This targets ASP.NET Core Identity's modern password format specifically (PBKDF2-HMACSHA256, format marker byte 0x01) - not legacy ASP.NET Membership, which used a different, older scheme.
This targets ASP.NET Core Identity v3's password format specifically (PBKDF2-HMACSHA256, format marker byte 0x01) - the current default since ASP.NET Core Identity 3.0. Legacy (pre-Core) ASP.NET Membership used a different, older SHA1-based scheme not implemented here.
Computed using your browser's native Web Crypto API, with the exact byte layout ASP.NET Core Identity's PasswordHasher produces - your password is never transmitted anywhere.
Legacy ASP.NET Membership (pre-Core) used a different SHA1-based format not implemented here - this tool is specifically for ASP.NET Core Identity's PasswordHasher.
How ASP.NET Core Identity Hashes Passwords
ASP.NET Core Identity's PasswordHasher (version 3, the current default) uses PBKDF2 with HMAC-SHA256 and packs the format marker, iteration count, salt, and derived subkey together into a single byte array, then stores it Base64-encoded.
Why Use This Tool?
Useful for seeding an ASP.NET Core Identity database directly (e.g. via a migration or raw SQL) without running the .NET application, since the byte layout is otherwise easy to get subtly wrong by hand.
How to Use It
- Enter a password.
- Adjust the iteration count if your project has changed it from Identity's default.
- Copy the generated Base64 hash directly into the
PasswordHashcolumn.
Important Scope Note
This implements the modern ASP.NET Core Identity v3 format specifically. Legacy (pre-Core) ASP.NET Membership used an entirely different, older SHA1-based scheme - if your project predates ASP.NET Core, this tool's output will not be compatible.