pub fn pbkdf(
password: &[u8],
salt: &[u8],
iterations: u32,
out: &mut [u8],
) -> Result<()>Available on crate feature
rustcrypto only.Expand description
Crypto_PBKDF() — PBKDF2-HMAC-SHA256 (§3.9).
The iteration count is checked against CRYPTO_PBKDF_ITERATIONS_MIN and _MAX: it
arrives from a peer, and a peer that asks for one iteration has asked for a passcode
that can be brute-forced, while one that asks for a billion has asked this node to stop
responding.