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.
Solved by gpt-5.6-sol high.
Codex Wiki