Function pgp::composed::message::decrypt_session_key_with_password
source · pub fn decrypt_session_key_with_password<F>(
packet: &SymKeyEncryptedSessionKey,
msg_pw: F
) -> Result<(Vec<u8>, SymmetricKeyAlgorithm)>
Expand description
Decrypts session key from SKESK packet.
Returns decrypted or derived session key and symmetric algorithm of the key.