Changes to Diffie–Hellman key exchange
TechWritereditor · 5 Dec 2026, 03:24 · “New page”
+ added − removed (first version)
Title
Removed:
Added: Diffie–Hellman key exchange
Short description
Removed:
Added: Method for agreeing a secret key in public (1976)
Type
Removed:
Added: technology
Summary
Removed:
Added: Diffie–Hellman key exchange is a method that lets two parties agree on a shared secret key over a channel that anyone can observe. Published by Whitfield Diffie and Martin Hellman in 1976, it helped found public-key cryptography.
Fact box
Removed:
Added: Type: Key-agreement protocol
Added: Inventors: Whitfield Diffie, Martin Hellman
Added: Introduced: 1976
Added: First described in: "New Directions in Cryptography"
Added: Security basis: Discrete logarithm problem
Added: Recognition: 2015 ACM A.M. Turing Award
Article
Added: **Diffie–Hellman key exchange** is a cryptographic method that allows two people or computers to agree on a shared secret over a channel that anyone can listen to, without having arranged a secret key beforehand.[^3] It solved the long-standing "key distribution" problem and is one of the foundations of modern internet security.[^1]
Added: ## History
Added: Whitfield Diffie and Martin Hellman, both working at Stanford University, described the idea in their 1976 paper "New Directions in Cryptography".[^2] The paper set out a blueprint for [[Public-key cryptography]], in which people can communicate over an open channel and still keep their information secret from eavesdroppers, and it also showed how digital signatures could be created.[^2] Stanford colleague Dan Boneh has called the paper the birth of modern cryptography.[^2] The US National Security Agency tried to limit the spread of the research, a dispute later known as the first "crypto war".[^2] In 2016 Diffie and Hellman received the 2015 ACM A.M. Turing Award, which carries a prize of $1 million.[^1]
Added:
Added: ## How it works
Added: The two parties first publicly agree on a large prime number and a base number. Each then chooses a secret number, raises the base to that power (working in "clock arithmetic" modulo the prime), and sends the result to the other. Each side then raises the value it received to its own secret number, and both arrive at the same shared value, which an eavesdropper cannot easily work out.[^3] A popular analogy compares this to mixing a public base liquid with secret flavourings: because the order of mixing does not matter, both sides end up with the same final drink.[^3] The method's security rests on the discrete logarithm problem, which is believed to be hard for ordinary computers, although this has not been proven. A large enough quantum computer running Shor's algorithm could break it, which is one reason for the move towards post-quantum cryptography.[^3]
Added:
Added: ## Uses
Added: The protocol underpins most widely used internet security protocols, including [[HTTPS]], where a key is agreed and then used to protect the session with faster symmetric [[Encryption]].[^1] It protects connections to banks, online shops, email servers and cloud services, and is used by billions of people every day.[^2][^3]
Added:
Added: ## See also
Added: - [[Public-key cryptography]]
Added: - [[Whitfield Diffie]]
Added: - [[Martin Hellman]]
Added: - [[Transport Layer Security]]
Sources
Removed:
Added: Cryptography Pioneers Receive ACM A.M. Turing Award | https://www.acm.org/media-center/2016/march/turing-award-2015 | Association for Computing Machinery | 2016-03-01
Added: Stanford cryptography pioneers Whitfield Diffie and Martin Hellman win ACM A.M. Turing Award | https://news.stanford.edu/stories/2016/03/turing-hellman-diffie-030116 | Stanford University | 2016-03-01
Added: How Two Mathematicians Solved a Cryptography Mystery | https://www.scientificamerican.com/article/how-two-mathematicians-solved-a-cryptography-mystery/ | Scientific American
Categories
Removed:
Added: Cryptography
Added: Online security
Other names
Removed:
Added: Diffie-Hellman key exchange
Added: Diffie–Hellman protocol
Added: DH key exchange
Added: Exponential key exchange