What is Diffie–Hellman key exchange?
A method by which two parties create a shared secret using only a public channel, published by Diffie and Hellman in 1976. A prime p and a generator g are public; A and B choose secret values a and b, send each other g^a mod p and g^b mod p, and each raises the other's value to their own secret, both obtaining the same g^(ab) mod p. Its security rests on the difficulty of the discrete logarithm problem. The version on an elliptic curve is ECDH, and versions using throwaway values for each connection are DHE and ECDHE, which provide forward secrecy. It does not authenticate the other party, so it is combined with signatures and certificates to prevent man-in-the-middle attacks.
Japanese name: ディフィー・ヘルマン鍵交換
Diffie–Hellman key exchange appears in 9 practice questions across 2 topics, including Applied Cryptography, Computer Networking Basics.
Field: Applied Cryptography