Contents

hpkeRepresentation(kem:)

Creates a serialized representation of the public key.

Declaration

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

Return Value

The serialized representation of the public key.

Discussion

  • kem: The Key Encapsulation Mechanism to use with the public key.