Contents

init(kem:kdf:aead:)

Creates an HPKE cipher suite.

Declaration

init(kem: HPKE.KEM, kdf: HPKE.KDF, aead: HPKE.AEAD)

Parameters

  • kem:

    The key encapsulation mechanism for encapsulating the symmetric key.

  • kdf:

    The key derivation function for deriving the symmetric key.

  • aead:

    The authenticated encryption with additional data (AEAD) algorithm for encrypting and decrypting messages.