← Foundations of Cryptography

Key Exchange

DH, MQV and authenticated key exchange.

A subcategory of Foundations of Cryptography, collecting its introduction, articles and resource entry points.

§

Articles here

22 Nov 2026 Foundations of Cryptography

Choosing DH Groups and Parameters: Safe Primes, Curves, and Named Groups

Half of Diffie–Hellman's security lives in the protocol, the other half in the parameters: pick the wrong group and no protocol elegance will save you. This article covers safe primes and subgroup traps in finite-field DH, the selection logic for elliptic-curve groups, and why modern protocols allow only named groups.

Diffie-HellmanFinite FieldsNamed GroupsParameter Selection

Read more →
22 Nov 2026 Foundations of Cryptography

Forward Secrecy: Mechanisms and Costs — Keeping Yesterday's Sessions Safe After a Key Leak

Forward secrecy guarantees that a future leak of long-term keys cannot open yesterday's sessions. This article explains the mechanisms it rests on — ephemeral keys, use-and-destroy, and ratcheting — and the taxes it collects: computation, state management, and structural concessions in 0-RTT and session resumption.

Forward SecrecyEphemeral KeysRatchetingSession Security

Read more →
22 Nov 2026 Foundations of Cryptography

From Diffie–Hellman to KEMs: A Shift of Interface Paradigm

DH is two-way, interactive, and 'negotiates' a key by group operations; a KEM is one-way, non-interactive, and has its key randomly generated by the encapsulator. Why the interface changed, and what that bought for security definitions and the post-quantum migration.

Diffie-HellmanKEMkey encapsulationML-KEM

Read more →
22 Nov 2026 Foundations of Cryptography

Design Principles for Hybrid Post-Quantum Key Exchange: Combining Classical and PQC into One Key

The safest key exchange for the migration era is not either/or but both: run classical DH and a post-quantum KEM together so security is the union of the two. This article sets out four design principles — the combiner must bind all material, transcript binding blocks downgrade, budget for size and latency, and know when the classical half can retire.

Hybrid Key ExchangeML-KEMPost-Quantum MigrationX25519MLKEM768

Read more →
22 Nov 2026 Foundations of Cryptography

Key Confirmation and Key Derivation: The Two Steps After the Exchange

Finishing the DH computation is not the same as finishing the handshake: the secret must first be processed by a KDF into real session keys, and both sides must prove they derived the same thing. This article explains where key derivation (extract and expand) and key confirmation (explicit and implicit) sit in the exchange flow, and where implementations commonly slip.

KDFHKDFKey ConfirmationKey Derivation

Read more →
22 Nov 2026 Foundations of Cryptography

MQV and Authenticated Key Exchange: Weaving Authentication into the Exchange Itself

Raw DH has no idea who it is talking to, and man-in-the-middle attacks are structural. The MQV family's idea is to cross static and ephemeral keys in a single computation so authentication grows from inside the exchange. This article traces the line from STS to MQV and HMQV, and the security goals of authenticated key exchange.

MQVHMQVAuthenticated Key ExchangeAKE

Read more →
22 Nov 2026 Foundations of Cryptography

The Shape of the Noise Protocol Framework: Assembling Handshakes from Blocks

Noise is not one protocol but a kit for assembling protocols: a handful of DH tokens, a set of handshake patterns, and a uniform symmetric state machine. This article takes Noise apart — tokens, pattern names, SymmetricState and CipherState — and explains why it became the foundation under WireGuard, Signal, and others.

NoiseWireGuardHandshake PatternsProtocol Framework

Read more →
22 Nov 2026 Foundations of Cryptography

Static vs. Ephemeral DH: One Key for a Session, or for a Lifetime

The same DH operation yields entirely different security and engineering properties depending on whether the private key is a long-term fixture or generated fresh per session. This article compares static and ephemeral DH on forward secrecy, authentication, performance, and key management — and explains why the hybrid design won.

Static DHEphemeral DHECDHEForward Secrecy

Read more →
§

More in this section