Skip to main content

Module message

Module message 

Source
Expand description

Encrypting data to keys and decrypting it (RFC 0006): OpenPGP messages, AEAD (SEIPDv2, AES-256-OCB) when every recipient’s key is v6, otherwise SEIPDv1 as v4 programs read it; signed with the sender’s key if one is given.

Structs§

Decrypted
What a decryption gave.

Functions§

decrypt
Decrypts an OpenPGP message (armored or binary) with any of keys, and checks its signature against senders.
encrypt
Encrypts data to every encryption subkey of each recipient. Armored for mail, binary for storage.