constKDF_HKDF_SHA256:KDFFactory
HKDF-SHA256 key derivation function.
A two-stage KDF using HMAC-based Extract-and-Expand as specified in RFC 5869. Uses SHA-256 as the hash function with an output length (Nh) of 32 bytes.
Depends on the following Web Cryptography algorithms being supported in the runtime:
- HMAC with SHA-256
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