Skip to main content

prepare

Function prepare 

Source
pub async fn prepare(
    input: &Password,
    salt: Vec<u8>,
    iterations: u32,
) -> Result<DeriveInput, Error>
Expand description

Parameterize a PBKDF2-HMAC-SHA-1 derivation. See pbkdf2-sha2.prepare for the salt and iterations contracts.