Key establishment
Agree on a secret with the intended peer. Key agreement, authentication and key derivation work together.
- 01Authenticate the peer
- 02Establish shared secret
- 03Derive separate working keys
Check a website’s TLS to see which key exchange it negotiates.
Three questions before choosing
Who is on the other end?
A key-agreement function or KEM does not alone authenticate a peer. Use the enclosing protocol's credentials, transcript binding and validation rules.
What happens to the shared secret?
Use the specified key-derivation function to create keys for separate purposes. HKDF extracts and expands keying material; it does not turn a weak password into a strong secret.
How long must data stay confidential?
Captured traffic can outlive a classical key exchange. Assess post-quantum migration now. A hybrid combines mechanisms and needs its own protocol analysis; it is not an alias for either component.
Compare current options
All algorithms ↗Every option has conditions. Open a system to read its deployment assessment and evidence.
ML-KEM
StandingViable with conditions
A standardized option; NIST recommends ML-KEM-768 as the default parameter set.
Conditions and evidence ↗X25519
StandingUse with a migration plan
Viable for classical key agreement within an authenticated protocol; plan quantum migration.
Conditions and evidence ↗X448
StandingUse with a migration plan
Viable for classical key agreement within an authenticated protocol; plan quantum migration.
Conditions and evidence ↗DH-2048
StandingSpecialist review required
Check the exact construction, parameters and protocol profile before deployment. The catalog verdict alone is not a deployment recommendation.
Conditions and evidence ↗RSA-OAEP
StandingUse with a migration plan
Use OAEP where a protocol requires RSA encryption.
Conditions and evidence ↗Legacy choices and construction traps
These mechanisms are not drop-in replacements. Select the construction specified by the protocol and policy, including authentication, key derivation, parameter sets and implementation protections.
- DH-512 (export)Broken
Do not select the broken construction or parameters described here for new protection.
- DH-768Broken
Do not select the broken construction or parameters described here for new protection.
- DH-1024Weakened
Check the exact construction, parameters and protocol profile before deployment. The catalog verdict alone is not a deployment recommendation.
- SIKEBroken
Do not select the broken construction or parameters described here for new protection.
- Raw (textbook) RSABroken
Replace this construction for new applications.
A managed KEM and a hybrid TLS session
AWS KMS offers managed ML-KEM decapsulation for applications. A separate 5G lab study measures hybrid key establishment within a TLS connection between two proxies. Look at which component holds the private key, where the shared secret is returned and where encryption begins.
Hybrid key agreement in TLS and SSH
Two August RFCs specify how transport peers combine ML-KEM with elliptic-curve Diffie-Hellman. In both protocols, check the negotiated key exchange separately from the certificates, host keys or signatures that authenticate the peers.
The shared key belongs to a particular peer
In certificate-authenticated TLS, both ends can derive the same key even if one end accepts the wrong identity. The Erlang/OTP and librelp disclosures show two ways that deployment can fail. Confirm that the service rejects missing, untrusted and unexpected identities as well as accepting the intended peer.
Testing hybrid key agreement in Wi-Fi
A laboratory prototype combined elliptic-curve Diffie-Hellman and ML-KEM in the Wi-Fi association exchange used by Opportunistic Wireless Encryption (OWE). The authors measured OWE. Fast Initial Link Setup (FILS) and binding the advertised capabilities to the key remain design work in the paper.
Can the ciphertext identify its recipient?
A key encapsulation mechanism can protect the shared secret and still give observers clues about the intended recipient. The PKC analysis of X-Wing treats recipient anonymity as a separate property and states the assumptions for the hybrid and its variants.
Read the specifications
Guide sources reviewed 19 October 2026. This is construction and deployment guidance, not an exhaustive cryptanalysis review.