Multilateral Diffie-Hellman key exchange 2026-10-14
In a cyclic group with generator , participants with secret exponents can exchange tokens around a ring. Token starts at and is successively exponentiated by its next recipients before being sent to the final recipient, whose exponent is the only one missing. That recipient completes the exponentiation locally. Each token makes transmissions, and everyone obtains . Thus transmitted group elements suffice. As with two-party Diffie-Hellman key exchange, authentication is needed.
Past exam of the mathematics course of the University of Cambridge 2010 ii Paper 4 4H Solution Created 2026-09-24 Updated 2026-10-14
In a specified finite cyclic group , the discrete logarithm problem is to recover modulo from and . A common choice is a large prime-order subgroup of a multiplicative group of a finite field.
For Diffie-Hellman key exchange, Alice and Bob independently choose private exponents , transmit , and compute respectively and . Both obtainSolving a discrete logarithm problem reveals a private exponent and breaks this exchange. The converse implication is not known in general: recovering from is the computational Diffie–Hellman problem, rather than literally the same task as computing a logarithm.
The advantage is that parties without an already shared secret can establish a fresh session key, which can then be used with efficient symmetric encryption. A classical secret-key system requires an earlier secure key distribution; ordinary public-key encryption can instead transmit a chosen key, but ephemeral Diffie-Hellman key exchange also permits forward secrecy when private session exponents are erased and the exchange is authenticated. Authentication is essential: an unauthenticated exchange is vulnerable to a man-in-the-middle attack.
For multilateral Diffie-Hellman key exchange with participants with private exponents , send tokens clockwise around a ring. Participant starts the token and sends it to participant . On each subsequent receipt, the receiver raises the token to their own private exponent and sends it onwards, until that token has made transmissions and reaches participant . Its exponent then contains every exponent except . The receiver raises it to locally, obtainingEvery participant receives one such final token. There are tokens with exactly transmitted group elements per token, giving transmissions. No private exponent is transmitted.
Past exam of the mathematics course of the University of Cambridge 2019 ii Paper 4 3G a Solution Created 2026-09-24 Updated 2026-10-03
In Diffie-Hellman key exchange, Alice and Bob publicly agree on a cyclic group in which the discrete logarithm problem is believed hard. Alice chooses a secret and sends ; Bob chooses a secret and sends . They independently computeThusis their shared key. A passive eavesdropper sees but is believed unable to compute efficiently; this is the computational Diffie--Hellman assumption. The basic protocol does not authenticate the participants and is therefore vulnerable to a man-in-the-middle attack unless the exchanged values are authenticated.
Past exam of the mathematics course of the University of Cambridge 2022 ii Paper 2 12K b Solution Created 2026-09-24 Updated 2026-09-25
The discrete logarithm problem asks, given and , to recover modulo . In the Diffie-Hellman key exchange, Alice sends , Bob sends , and both compute . An enemy able to compute discrete logarithms recovers or from the public messages and hence obtains the key.
For three participants with private exponents , circulate three tokens around a directed ring. Start with ; whenever a participant receives a token, they raise it to their private exponent and pass it on. Arrange the three cyclic routes so that after two transmissions each participant receives one token to which all three exponents have been applied. Every participant then haswhile the public transcript contains only proper subproducts.
For participants, start token at participant and pass it successively through the other participants in cyclic order, each raising it to their exponent. Choose the cyclic starts so that one completed token ends at each participant. Every final token equalsThere are tokens and transmissions per token, for exactlycommunications. Security rests on the corresponding generalized Diffie--Hellman problem.