Skip to main content

hash_password

Function hash_password 

Source
pub fn hash_password(
    password: &[u8],
    salt: &[u8],
    params: &Params,
) -> Result<String, Argon2Error>
Expand description

Hash a password and return the PHC-encoded string.