[][src]Function gcrypt::kdf::derive

pub fn derive(
    algo: Algorithm,
    subalgo: i32,
    iter: u32,
    secret: &[u8],
    salt: Option<&[u8]>,
    key: &mut [u8]
) -> Result<()>