Contents

HPKE.Sender

A type that represents the sending side of an HPKE message exchange.

Declaration

struct Sender

Overview

To create encrypted messages, initialize a Sender specifying the appropriate cipher suite, the recipient’s public key, and the additional cryptographic material relevant to your chosen mode of operation. Call seal(_:) or seal(_:authenticating:) on the Sender instance for each message in turn to retrieve its ciphertext. The recipient of the messages needs to process them in the same order as the Sender, using the same encryption mode, cipher suite, and key schedule information (info), as well as the Sender’s encapsulatedKey.

Topics

Initializers

Instance Properties

Instance Methods

See Also

Sending and receiving messages