Node.js crypto and tls

Node.js's built-in crypto, tls and WebCrypto.

Available

PQC is supported in a stable release, but you have to opt in.

Ecosystem
JavaScript / Node
Homepage
nodejs.org
Repository
github.com/nodejs/node
Last verified

What to do

ML-DSA: Node.js crypto and tls v24.6.0 or later. ML-KEM: Node.js crypto and tls v24.7.0 or later. SLH-DSA: Node.js crypto and tls v24.8.0 or later.

Cryptography provided by

Node.js crypto and tls relies on these libraries for its asymmetric cryptography. Its PQC support depends on theirs.

Algorithm support

AlgorithmSupportSinceOn by defaultExperimentalNotes
ML-KEM
FIPS 203
Supported[1]v24.7.0??
ML-DSA
FIPS 204
Supported[2]v24.6.0??
SLH-DSA
FIPS 205
Supported[3]v24.8.0??
Hybrid TLS
e.g. X25519MLKEM768
Unknown–––

Roadmap

No public roadmap recorded.

FIPS validation (PQC)

Unknown.

Libraries that rely on Node.js crypto and tls

Evidence

  1. Crypto | Node.js v26.13.0 Documentation · docs · retrieved 2026-11-09
    v24.7.0 Add support for ML-KEM keys.
  2. Crypto | Node.js v26.13.0 Documentation · docs · retrieved 2026-11-09
    v24.6.0 Add support for ML-DSA keys.
  3. Crypto | Node.js v26.13.0 Documentation · docs · retrieved 2026-11-09
    v24.8.0 Add support for SLH-DSA keys.

Out of date? Ask us to re-check Node.js crypto and tls against its latest releases, or suggest a correction or edit the data file on GitHub.

Machine-readable: /api/libraries/nodejs-crypto.json · Data from PQC Deps, CC BY 4.0.