[−][src]Function orion::pwhash::hash_password
#[must_use] pub fn hash_password(
password: &Password,
iterations: usize
) -> Result<PasswordHash, UnknownCryptoError>
Hash a password using PBKDF2-HMAC-SHA512.
#[must_use] pub fn hash_password(
password: &Password,
iterations: usize
) -> Result<PasswordHash, UnknownCryptoError>
Hash a password using PBKDF2-HMAC-SHA512.