Namespace Argon2id.PasswordHasher
Namespaces
Classes
- Argon2idDiagnostics
Public names of the System.Diagnostics.Metrics meter and instruments emitted by this library. Subscribe to these from your observability stack (OpenTelemetry, Prometheus exporter, etc.) to get hash/verify counts, durations, and rehash signals without any code changes inside the hasher.
- Argon2idOptions
Tunable Argon2id work-factor parameters used when hashing passwords.
- Argon2idPasswordHasher
An opinionated, secure-by-default Argon2id password hasher.
- Pepper
A named secret key ("pepper") mixed into every Argon2id hash. A pepper is an application-level secret kept outside the password database (for example in a key vault or environment variable). If the database leaks but the pepper does not, the stolen hashes cannot be cracked offline.
- PepperRing
A set of peppers comprising one Active pepper (used for new hashes) and zero or more retired peppers (still accepted when verifying older hashes). This is the unit that gives Argon2id peppering a safe rotation story.
Structs
- VerifyResult
The outcome of an Argon2id password verification, combining whether the password matched with whether the stored hash should be re-derived using the hasher's current parameters.