Function derive_key

Source
fn derive_key(
    argon2_settings: &Argon2RawSettings,
    password: &str,
) -> Result<[u8; 32], PasswordProtectedKeyEnvelopeError>