hybrid key exchange
Running a classical key exchange and a post-quantum one together and combining both results, so an attacker has to break both to learn the session key.
In more detail
It protects against harvest-now, decrypt-later attacks while hedging against a flaw being found in the newer post-quantum algorithm. In TLS 1.3 the common hybrid group is X25519MLKEM768, which pairs X25519 with ML-KEM-768 and is standardised in RFC 10024. Current browsers and OpenSSL 3.5 and later offer it by default; the cost is roughly an extra kilobyte in each direction of the handshake.
Example
openssl s_client -groups X25519MLKEM768 -connect example.com:443Related terms
- ML-KEM — The NIST-standard post-quantum key encapsulation mechanism, used to agree a shared secret key in a way that a quantum computer is not known to break.
- X25519 — A fast, widely used elliptic curve key exchange function that lets two parties derive the same 32-byte shared secret from each other's public keys.
- harvest now, decrypt later — An attack strategy where an adversary records encrypted traffic today and stores it, planning to decrypt it once a large quantum computer exists.
- TLS handshake — The opening exchange of a TLS connection, in which client and server agree on settings, check certificates and create shared keys.
Taught in
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography