pub fn derive_key(
    password: &[u8],
    salt: &[u8],
    iterations: u32,
    memory: u32,
    secret: Option<&[u8]>,
    ad: Option<&[u8]>,
    dst_out: &mut [u8]
) -> Result<(), UnknownCryptoError>
Expand description

Argon2i password hashing function as described in the P-H-C specification.