Function engine::snapshot::kdf::naive_kdf [−][src]
pub fn naive_kdf(
password: &[u8],
salt: &[u8; 32],
key: &mut [u8; 32]
) -> Result<()>
a wrapper around the HMAC_SHA256
function used to derive a hash from a given password.