Lecture #7 Diffie-Hellman Key Exchange
Lecture #7 Diffie-Hellman Key Exchange
EXCHANGE
2
OBJECTIVES
Diffie-Hellman Key Exchange
Attacks on Diffie-Hellman
PROBLEM OF KEY
EXCHANGE?
Click to add picture
shared secret key for secure. communication over an insecure channel (e.g., the
internet) without it being intercepted by a third party (eavesdropper)
Insecure channels: any message (including the secret key) can be
intercepted.
Man-in-the-middle-attacks: An attacker could intercept key exchange
messages and replace them with their own, tricking both parties into sharing
keys with the attacker.
Scalability issues: In large networks, manually distributing secret keys
DIFFIE-HELLMAN KEY
EXCHANGE
The Diffie-Hellman Key Exchange protocol offers a way in which
a public channel can be used to create a confidential shared key.
• Invented by Whitfield Diffie and Martin Hellman in 1976.
• Used for secure key exchange over an insecure channel.
• Foundation for many cryptographic protocols.
COLOR EXAMPLE 6
DIFFIE-HELLMAN
STEP 1- PUBLICLY
PARAMETERS
1. Alice & Bob publicly agree to a large
prime number called the modulus, or p.
2. Alice & Bob publicly agree to a number
called the generator, or g, which has a
primitive root relationship with p.
3. In our example we’ll assume
a. p = 17
b. g = 3
4. Eve is aware of the values of p or g.
15