Diffie–Hellman key exchange
Example
The Diffie–Hellman key exchange is an example of public-key cryptography. Two parties, Alice and Bob, use it to agree on a secret key over a public channel. They agree in public on a prime and an integer , often a primitive root modulo . Alice chooses a secret integer and sends . Bob chooses a secret integer and sends . Alice computes , and Bob computes . Both are equal to , the shared secret. A small case: , , and . Then , , and .
Remarks
An eavesdropper sees , , and . To find , a natural method is to compute a discrete logarithm, which is believed to be hard for large . The same method works in any finite cyclic group, for example the group of points of an elliptic curve. Whitfield Diffie and Martin Hellman published the method in 1976.
Explanations
L1 human
Each party mixes a public number with a private number, and they swap the results. Each then mixes in their own private number again, and both get the same final number. An eavesdropper sees only the swapped numbers, and cannot easily undo the mixing.
What this node needs for W3
- a person confirmed each agent-written section: rule P04 (0 of 1)
The writing levels say how complete the text of a node is. They do not measure its truth.
What this needs
To read this node, read these 11 nodes in this order. The foundations come first, and the list ends with this node.
- no evidence level
- Divisibility definition
- Modular exponentiation concept
- Congruence modulo n definition
- Greatest common divisor definition
- Coprime integers definition
- Euler's totient function definition
- Euler's theorem statement
- Multiplicative order definition
- Primitive root modulo n definition
- Discrete logarithm definition
- Diffie–Hellman key exchange example
Sources
- Web https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange, lead section
- Web https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange, Cryptographic explanation
What links here
No node links to this node yet.