Contents

hpkeRepresentation(kem:)

Creates an encoded representation of the public key.

Declaration

func hpkeRepresentation(kem: HPKE.KEM) throws -> Data

Return Value

The encoded key data.

Discussion

  • kem: The key encapsulation mechanism for encapsulating the key.