The log2 of the number of rounds of hashing to apply.
Hashes a password.
Hashes a password.
This implementation does not return the salt separately because it is embedded in the hashed password. Other implementations might need to return it so it gets saved in the backing store.
The password to hash.
A PasswordInfo containing the hashed password.
Gets the ID of the hasher.
Gets the ID of the hasher.
The ID of the hasher.
Checks if a password matches the hashed version.
Checks if a password matches the hashed version.
The password retrieved from the backing store.
The password supplied by the user trying to log in.
True if the password matches, false otherwise.
Implementation of the password hasher based on BCrypt.
gensalt