Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.42 KB

File metadata and controls

38 lines (26 loc) · 1.42 KB

Type Alias: KEMFactory()

KEMFactory = () => Readonly<KEM>

Factory function that returns a KEM implementation.

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

Traditional:

Post-quantum/Traditional (PQ/T Hybrid):

Post-quantum (PQ):

Tip

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

Returns

Readonly<KEM>