Hashes a password.
Hashes a password.
The password to hash.
A PasswordInfo containing the hashed password and optional salt.
Gets the ID of the hasher.
Gets the ID of the hasher.
The ID of the hasher.
Indicates if a password info hashed with this hasher is deprecated.
Indicates if a password info hashed with this hasher is deprecated.
A password can be deprecated if some internal state of a hasher has changed.
The password info to check the deprecation status for.
True if the given password info is deprecated, false otherwise. If a hasher isn't suitable for the given password, this method should return None.
Checks whether a supplied password matches the hashed one.
Checks whether a supplied password matches the hashed one.
The password retrieved from the backing store.
The password supplied by the user trying to log in.
True if the password matches, false otherwise.
Checks if a password hasher is suitable for the given password info.
Checks if a password hasher is suitable for the given password info.
The password info to check the hasher is suitable for.
True if the hasher is suitable for the given password info, false otherwise.
A trait that defines the password hasher interface.