constKEM_DHKEM_P521_HKDF_SHA512:KEMFactory
Diffie-Hellman Key Encapsulation Mechanism using NIST P-521 curve and HKDF-SHA512.
A Diffie-Hellman based KEM using the NIST P-521 elliptic curve (also known as secp521r1) with HKDF-SHA512 for key derivation.
Depends on the following Web Cryptography algorithms being supported in the runtime:
- ECDH with P-521 curve
- HMAC with SHA-512 (for HKDF)
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