Hashes a password.
Hashes a password. This implementation does not return the salt because it is not needed to verify passwords later. 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.
The hasher id
The hasher id
Checks if a password matches the hashed version
Checks if a password matches the hashed version
the password retrieved from the backing store (by means of UserService)
the password supplied by the user trying to log in
true if the password matches, false otherwise.
The default password hasher based on BCrypt.