Function openssl::pkcs5::pbkdf2_hmac [] [src]

pub fn pbkdf2_hmac(pass: &[u8],
                   salt: &[u8],
                   iter: usize,
                   hash: MessageDigest,
                   key: &mut [u8])
                   -> Result<(), ErrorStack>

Derives a key from a password and salt using the PBKDF2-HMAC algorithm with a digest function.