Cloudflare Workers adds native ML-KEM and ML-DSA post-quantum support in Web Crypto
Cloudflare Workers now provides native implementations of ML-KEM and ML-DSA algorithms via the Web Crypto API
Security & privacy Cloudflare Research 1 Oct 2026 Tooling Deployed evidence
Published as “Support for modern cryptographic algorithms in Workers”
Why it matters
Developers can now use native post-quantum cryptography in Workers without bundling external libraries, simplifying experimentation and integration.
Summary
The blog announces that Cloudflare Workers’ Web Crypto layer now includes post-quantum primitives: ML-KEM-768/1024 for key encapsulation and ML-DSA-44/65/87 for signatures. It shows short JavaScript examples of generating keys, encapsulating/decapsulating, signing, and verifying, and explains helper APIs like getPublicKey() and SubtleCrypto.supports(). The support is gated behind an opt-in compatibility flag and currently covers a subset of the WICG modern algorithms draft. Evidence is limited to implementation details and API surface, with no performance or security evaluation presented.
What they found 2
- Workers initially supports ML-KEM-768 as a KEM and ML-DSA-44 as a signature algorithm
“The initial Workers implementation supports ML-KEM-768 as a KEM and ML-DSA-44 as a signature algorithm.”
- ML-KEM-512 is not available because the underlying BoringSSL does not expose it
“ML-KEM-512 is not supported because the BoringSSL version used by Workers does not expose it.”
Caveats 5
- The new algorithms are only available when the webcrypto_modern_algorithms compatibility flag is enabled
- Only a subset of the modern algorithms draft is implemented; many algorithms like SHA-3 and ChaCha20-Poly1305 are still missing
- Support is opt-in behind a compatibility flag and does not constitute a full migration path
- Only ML-KEM-768/1024 and ML-DSA-44/65/87 are implemented; other proposed algorithms are omitted
- ML-DSA keys and signatures are larger than traditional RSA or Ed25519 keys
What’s new here 4
- Native ML-KEM-768 and ML-KEM-1024 key encapsulation support
- Native ML-DSA-44, ML-DSA-65, and ML-DSA-87 signature support
- New getPublicKey() helper for deriving public keys from private keys
- SubtleCrypto.supports() API to check algorithm availability