pub fn decrypt_session_key<F>(
    locked_key: &(impl SecretKeyTrait + KeyTrait),
    key_pw: F,
    mpis: &[Mpi]
) -> Result<(Vec<u8>, SymmetricKeyAlgorithm)>
where F: FnOnce() -> String,
Expand description

Decrypts session key using secret key.