Function dryoc::classic::crypto_pwhash::crypto_pwhash_str
source · Available on crate feature
base64
only.Expand description
Wrapper for crypto_pwhash
that returns a string encoding of a hashed
password with a random salt, suitable for use with password hash storage
(i.e., in a database). Can be used to verify a password using
crypto_pwhash_str_verify
.
Compatible with libsodium’s crypto_pwhash_str
.