Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 885 Bytes

File metadata and controls

23 lines (14 loc) · 885 Bytes

Variable: KEM_DHKEM_P521_HKDF_SHA512

const KEM_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

See

HPKE KEM Identifiers