Class PasswordHashingOptions
C12 — password hashing configuration.
selects the primary algorithm used for new password hashes.
On successful verification of a legacy hash (different algorithm, or same algorithm with
weaker parameters than the current configuration), the login flow re-hashes the plaintext
and persists it — the standard OWASP upgrade-on-login pattern. See
Security.MultiFormatPasswordHasher + Services.LoginService for the
implementation.
public sealed class PasswordHashingOptions
Inheritance
Properties
Algorithm
Primary algorithm used for new hashes. Default:
public PasswordHashAlgorithm Algorithm { get; set; }