Skip to main content

decrypt_with_sender

Function decrypt_with_sender 

Source
pub fn decrypt_with_sender<U: UserSecret + ?Sized>(
    receiver: &U,
    envelope: &Envelope,
) -> (Plaintext, MessagePublicKey)
Expand description

Decrypt like decrypt, additionally returning the sender’s long-term SD-APKE public key pk_S^APKE recovered from ct^PKE.