Week 2 - Diffie-Hellman Key Exchange Flashcards

1
Q

What is the purpose of Diffe-Hellman Key exchange?

A

to generate a shared key over an insecure network allowing future secure communication

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does Diffie-Hellman Key work?

A
  1. a large prime number p and a base g are agreed
  2. Alice and Bob each have a private key
  3. A = g^a mod p
    B = g^b mod p
  4. Alice send A to bob and Bob sends B to Alice
  5. Alice secret key = B^a mod p
    Bob secret Key = A^b mod p
  6. Alice key == Bob key
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why is the Diffie-Hellman key exchange secure against attackers?

A

Attacker needs a or b to solve for the key, but these are private

How well did you know this?
1
Not at all
2
3
4
5
Perfectly