Overview#Diffie-Hellman key exchange (DH) is a specific method of securely Key-Exchange over a public channel and was the first specific example of public-key cryptography as originally conceptualized by Ralph Merkle.
Diffie-Hellman is one of the earliest practical examples of Public Key exchange implemented within the field of cryptography. The Diffie-Hellman key exchange method allows two parties that have no prior knowledge of each other to jointly establish a shared secret key over an insecure communication channel. This key can then be used to encrypt subsequent communications using a Symmetric Key Cipher.
The scheme was first published by Whitfield Diffie and Martin Hellman in 1976.
By 1975, James H. Ellis, Clifford Cocks and Malcolm J. Williamson within GCHQ, the British signals intelligence agency, had also shown how public-key cryptography could be achieved; however, their work was kept secret until 1997.
Although Diffie-Hellman key agreement itself is an anonymous (non-authenticated) key-agreement protocol, it provides the basis for a variety of authenticated protocols, and is used to provide Perfect Forward Secrecy in Transport Layer Security's ephemeral modes (referred to as EDH or DHE depending on the cipher suite).
U.S. Patent 4,200,770, from 1977, is now expired and describes the now public domain algorithm. It credits Hellman, Diffie, and Merkle as inventors
More Information#There might be more information for this subject on one of the following:
- Best Practices Password
- Diffie-Hellman key-exchange
- Diffie-Hellman or RSA
- Elliptic Curve Diffie-Hellman Ephemeral
- How SSL-TLS Works
- NSA Suite B Cryptography
- Off-the-Record Messaging
- Shared Secret
- TLS 1.3
- TLS Full Handshake