Skip to main content

decrypt_packet

Function decrypt_packet 

Source
pub fn decrypt_packet(
    packet: &Packet,
    card: &MailboxCard,
    key: &MailEncryptionKey,
    owner: &AgentId,
    now: i64,
) -> Result<MessagePayload>
Expand description

Historical verification and opening; inbox acceptance handles expiry and dedup.