Skip to main content

hash

Function hash 

Source
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.