Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 914 Bytes

File metadata and controls

23 lines (16 loc) · 914 Bytes

Type Alias: AEADFactory()

AEADFactory = () => Readonly<AEAD>

Factory function that returns an AEAD implementation.

The following Web Cryptography-based implementations are exported by this module:

Tip

CipherSuite is not limited to using only these exported AEAD implementations. Any function returning an object conforming to the AEAD interface can be used. Such implementations not reliant on Web Cryptography are exported by @panva/hpke-noble

Returns

Readonly<AEAD>