pub fn hash(password: &str) -> Result<String, PasswordError>Expand description
Hash a password with argon2id. Returns the standard PHC string format.
ยงErrors
PasswordError::Hash on argon2 failures.
pub fn hash(password: &str) -> Result<String, PasswordError>Hash a password with argon2id. Returns the standard PHC string format.
PasswordError::Hash on argon2 failures.