Function derive_key

pub fn derive_key(
    password: &Password,
    salt: &Salt,
    iterations: u32,
    memory: u32,
    length: u32,
) -> Result<SecretKey, UnknownCryptoError> 
Available on crate feature dep_orion only.
Expand description

Derive a key using Argon2i.