HPKE.Sender
A type that represents the sending side of an HPKE message exchange.
Declaration
struct SenderOverview
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
init(recipientKey:ciphersuite:info:)init(recipientKey:ciphersuite:info:)init(recipientKey:ciphersuite:info:authenticatedBy:)init(recipientKey:ciphersuite:info:authenticatedBy:presharedKey:presharedKeyIdentifier:)init(recipientKey:ciphersuite:info:presharedKey:presharedKeyIdentifier:)