Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 1.01 KB

File metadata and controls

26 lines (19 loc) · 1.01 KB

Type Alias: KDFFactory()

KDFFactory = () => Readonly<KDF>

Factory function that returns a KDF implementation.

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

Tip

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

Returns

Readonly<KDF>