Function scram256_hash

Source
pub fn scram256_hash(
    password: &Password,
    iterations: &NonZeroU32,
) -> Result<String, HashError>
Expand description

Hashes a password using PBKDF2 with SHA256, and returns it in the SCRAM-SHA-256 format. The format is SCRAM-SHA-256$:$<stored_key>:<server_key>