Hashes a password
the password to hash
a PasswordInfo containting the hashed password and optional salt
The password hasher id
Checks whether a supplied password matches the hashed one
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.