Readonly
idThe KDF identifier.
Readonly
keyThe length in bytes of an AEAD key (Nk).
Readonly
nonceThe length in bytes of an AEAD nonce (Nn).
Readonly
tagThe length in bytes of an AEAD authentication tag (Nt).
Creates an AEAD encryption context which has seal/open operation.
An AEAD encryption context.
The ExportOnly mode for HPKE AEAD implementing AeadInterface.
When using
@hpke/core
, the instance of this class must be specified to theaead
parameter of CipherSuiteParams instead ofAeadId.ExportOnly
as follows:Example