Function dryoc::classic::crypto_pwhash::crypto_pwhash_str_verify

source ·
pub fn crypto_pwhash_str_verify(
    hashed_password: &str,
    password: &[u8]
) -> Result<(), Error>
Available on crate feature base64 only.
Expand description

Verifies that hashed_password is valid for password, assuming the hashed password was encoded using crypto_pwhash_str.

Compatible with libsodium’s crypto_pwhash_str_verify.