Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 770 Bytes

File metadata and controls

22 lines (13 loc) · 770 Bytes

Variable: KDF_TurboSHAKE256

const KDF_TurboSHAKE256: KDFFactory

TurboSHAKE256 key derivation function.

A one-stage KDF using the TurboSHAKE256 extendable-output function (XOF) with an output length (Nh) of 64 bytes.

Depends on the following Web Cryptography algorithms being supported in the runtime:

  • TurboSHAKE256 digest

This is a factory function that must be passed to the CipherSuite constructor.

Tip

An implementation of this algorithm not reliant on Web Cryptography is also exported by @panva/hpke-noble

See

HPKE-PQ One-Stage KDFs