logo

Function pbkdf2::pbkdf2

source · []
pub fn pbkdf2<PRF>(password: &[u8], salt: &[u8], rounds: u32, res: &mut [u8]) where
    PRF: KeyInit + Update + FixedOutput + Clone + Sync
Expand description

Generic implementation of PBKDF2 algorithm.