Is Node.js Quantum-Safe?

By Team Cyber Kendra • • 1 Min Read • Follow on Google News Add to Preferred Source

Short answer

Yes: Node.js 24.5.0 (July 2025) and 22.20.0 bundle OpenSSL 3.5, so TLS connections use hybrid X25519MLKEM768 by default. ML-KEM and ML-DSA are in node:crypto and Web Crypto since 24.7/24.8, but need code to use.

  • Encryption: On for everyone
  • Logins: Available, switch it on

Last checked against the company's own announcements.

Post-quantum status of Node.js

Encryption of your data (key exchange)

On for everyone

Algorithm: X25519MLKEM768

Since: July 31, 2025

What it covers: TLS via bundled OpenSSL 3.5

Default in official builds 24.5.0+ and 22.20.0+; builds against older system OpenSSL won't have it.

Logins and identity (signatures)

Available, switch it on

Algorithm: ML-DSA, SLH-DSA

Since: August 27, 2025

What it covers: node:crypto sign/verify and Web Crypto

ML-DSA in 24.7.0; SLH-DSA key types present in later docs.

What you should do

Upgrade to Node.js 24.5.0+ (or 22.20.0+ on the 22 LTS line) using the official builds. If your Node is linked to a system OpenSSL, that OpenSSL must be 3.5+. Use crypto.encapsulate/decapsulate and ML-DSA keys only if you need PQ primitives.

Version needed: 24.5.0

How Node.js compares with other Libraries

How Node.js compares with other Libraries
App or service Encryption (key exchange) Logins (signatures) Checked
.NET Partly Switch it on Dec 4, 2026
AWS-LC Protected Switch it on Dec 4, 2026
BoringSSL Protected Switch it on Dec 4, 2026
Bouncy Castle Switch it on Switch it on Dec 4, 2026
GnuTLS Switch it on Switch it on Dec 4, 2026
Go standard library (crypto/tls) Protected Switch it on Dec 4, 2026
Java / OpenJDK Protected Switch it on Dec 4, 2026
Node.js Protected Switch it on Dec 4, 2026
Open Quantum Safe liboqs Switch it on Switch it on Dec 4, 2026
OpenSSH Protected Not yet Dec 4, 2026
OpenSSL Protected Switch it on Dec 4, 2026
rustls Protected Protected Dec 4, 2026
wolfSSL Switch it on Switch it on Dec 4, 2026

Questions people ask

Is Node.js quantum-safe?

Yes: Node.js 24.5.0 (July 2025) and 22.20.0 bundle OpenSSL 3.5, so TLS connections use hybrid X25519MLKEM768 by default. ML-KEM and ML-DSA are in node:crypto and Web Crypto since 24.7/24.8, but need code to use.

Does Node.js use post-quantum encryption by default?

Yes. Node.js uses post-quantum key exchange by default (X25519MLKEM768). TLS via bundled OpenSSL 3.5

What should I do to stay protected on Node.js?

Upgrade to Node.js 24.5.0+ (or 22.20.0+ on the 22 LTS line) using the official builds. If your Node is linked to a system OpenSSL, that OpenSSL must be 3.5+. Use crypto.encapsulate/decapsulate and ML-DSA keys only if you need PQ primitives.

When did Node.js add post-quantum protection?

Node.js added it on July 31, 2025.

Are Node.js logins and certificates quantum-safe?

Node.js offers post-quantum signatures, but you have to switch them on.

Sources

  1. Node.js: Node.js v24.5.0 (Current) (July 31, 2025) official source
  2. Node.js: Node.js v24.7.0 (Current) (August 27, 2025) official source
  3. Node.js: Node.js crypto docs (nightly) (November 2026) official source
  4. Cloudflare: Post-quantum support in software (Cloudflare)

Last verified: December 4, 2026. We re-check every app regularly against the company's own announcements and documentation.

See all 101 apps and services Which Libraries are quantum-safe?

Something changed? Suggest a correction

Latest Articles

View all