IntelligenceAlgorithmsx25519-ml-kem
X25519MLKEM768
A hybrid key agreement for TLS 1.3 that combines X25519 with ML-KEM-768, so the shared secret stays protected as long as either component does; RFC 10024 defines it. Major browsers and TLS libraries use it to protect recorded traffic against a future quantum computer.
In short
What a quantum computer changes.
- Quantum effect
- Hybrid
- Family
- HybridRests on elliptic-curve discrete logarithm and module learning with errors.
- What it means
- A hybrid scheme runs a classical algorithm and a post-quantum algorithm side by side and combines their results, so an attacker has to break both parts to break the whole. A large quantum computer could break the classical part, but the post-quantum part would still protect the result. If a flaw is found in the newer post-quantum part, the classical part still holds against anyone without such a machine.
This describes the family, not any project that uses it.
14 in the catalogue
Packages that provide it
| Package | Provides |
|---|---|
| libsodium-wrappersnpm | libsodium compiled to WebAssembly and JavaScript with generated wrappers: X25519, Ed25519, XSalsa20-Poly1305 and ChaCha20-Poly1305 encryption, BLAKE2b, SHA-2, SHA-3, HMAC, Argon2 password hashing, ML-KEM-768 and the X-Wing hybrid KEM. |
| libsodium-wrappers-sumonpm | The sumo build of libsodium.js: everything in libsodium-wrappers plus scrypt password hashing and lower-level functions. |
| @hpke/hybridkem-x-wingnpm | HPKE extension module providing X-Wing, a hybrid KEM combining ML-KEM-768 and X25519, for @hpke/core. |
| @noble/post-quantumnpm | Pure TypeScript post-quantum library: ML-KEM (FIPS 203), ML-DSA (FIPS 204), SLH-DSA (FIPS 205), Falcon, and hybrid KEMs including X-Wing (ML-KEM-768 with X25519). |
| boringcrates.io | Rust bindings to BoringSSL with TLS support, RSA, DSA, Diffie-Hellman, ECDSA and ECDH, Ed25519 and X25519, ML-KEM, ML-DSA, HPKE, AEAD ciphers, hashes, HMAC and key derivation. |
| libcruxcrates.io | Re-export crate for the libcrux library of formally verified implementations, including ML-KEM, ML-DSA, X25519, P-256 ECDSA and ECDH, Ed25519, RSA-PSS, AES-GCM, ChaCha20-Poly1305, SHA-2, SHA-3, BLAKE2, HMAC, HKDF and HPKE. |
| orioncrates.io | Pure Rust library offering ML-KEM, ML-DSA, X-Wing, HPKE, X25519, (X)ChaCha20-Poly1305, BLAKE2b, BLAKE3, SHA-2, SHA-3, HMAC, HKDF, PBKDF2, Argon2 and scrypt. |
| dryoccrates.io | Pure Rust libsodium-compatible library with crypto_box, secretbox, Ed25519 signatures, BLAKE2b, SHA-2, SHA-3, HMAC, HKDF, Argon2 password hashing, ML-KEM-768, X-Wing and HPKE sealed boxes. |
| x-wingcrates.io | Pure Rust X-Wing hybrid key encapsulation combining X25519 and ML-KEM-768. |
| rustlscrates.io | TLS 1.2 and TLS 1.3 library in Rust whose cryptography comes from a pluggable provider, aws-lc-rs by default or ring. |
| rustls-post-quantumcrates.io | rustls crypto provider built on aws-lc-rs that adds post-quantum key exchange and experimental ML-DSA signatures. |
| hpkecrates.io | Pure Rust Hybrid Public Key Encryption (RFC 9180) with X25519 and NIST P-curve DHKEMs, ML-KEM and X-Wing KEMs, HKDF or SHAKE KDFs and AES-GCM or ChaCha20-Poly1305. |
| agecrates.io | Library for the age file encryption format, with X25519, hybrid ML-KEM-768 plus X25519, P-256 tag, SSH key and scrypt passphrase recipients and ChaCha20-Poly1305 payload encryption. |
| sequoia-openpgpcrates.io | OpenPGP (RFC 9580 and RFC 4880) implementation with RSA, DSA, ECDSA, ECDH, EdDSA, X25519 and X448 keys, post-quantum ML-KEM, ML-DSA and SLH-DSA algorithms, AES and SHA-1, SHA-2 and SHA-3 hashes. |
3 listed
Sources
- RFC 10024: Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3rfc-editor.orgRetrieved 3 December 2026
- FIPS 203: Module-Lattice-Based Key-Encapsulation Mechanism Standardcsrc.nist.govRetrieved 3 December 2026
- RFC 7748: Elliptic Curves for Securityrfc-editor.orgRetrieved 3 December 2026
Full record
- Identifier
- x25519-ml-kem
- Kind
- kem
- Family
- Hybrid
- Rests on
- elliptic-curve discrete logarithm and module learning with errors
- Quantum effect
- Hybrid
Standards
- FIPS 203Module-Lattice-Based Key-Encapsulation Mechanism StandardNIST, final, published 13 August 2024Checked 3 December 2026
- RFC 7748Elliptic Curves for SecurityIRTF (CFRG), informational, published 1 January 2016Checked 3 December 2026
- RFC 10024Post-Quantum Traditional (PQ/T) Hybrid Key Agreement Mechanisms for TLS 1.3IETF, final, published 1 August 2026Checked 3 December 2026