pub fn pbkdf2_hmac(
pass: &[u8],
salt: &[u8],
iter: usize,
hash: MessageDigest,
key: &mut [u8],
) -> Result<(), ErrorStack>
Expand description
Derives a key from a password and salt using the PBKDF2-HMAC algorithm with a digest function.
This corresponds to PKCS5_PBKDF2_HMAC
.