Questions: Diffie-Hellman Key Exchange

5 questions to test your understanding

Score: 0 / 5
Question 1 Multiple Choice

Alice and Bob perform Diffie-Hellman over a public channel. Eve observes g, p, g^a mod p, and g^b mod p. To compute the shared key g^{ab} mod p, what problem must Eve solve?

AThe integer factorization problem — Eve must factor p to recover a and b
BThe discrete logarithm problem — Eve must compute a from g^a mod p (or b from g^b mod p)
CThe Computational Diffie-Hellman (CDH) problem — Eve must compute g^{ab} mod p given g^a and g^b, without necessarily finding a or b individually
DThe RSA problem — Eve must find the private exponent d
Question 2 Short Answer

Diffie-Hellman by itself is secure against passive eavesdroppers but vulnerable to active man-in-the-middle attacks. Describe the attack.

Think about your answer, then reveal below.
Question 3 Short Answer

The Diffie-Hellman key exchange was published in 1976, one year before RSA. Why is it historically significant that DH solved key distribution without requiring a prior shared secret?

Think about your answer, then reveal below.
Question 4 True / False

Choosing a safe prime p = 2q + 1 (where q is also prime) for Diffie-Hellman is important because it ensures the group of order q has no small subgroups that would weaken the discrete logarithm problem.

TTrue
FFalse
Question 5 True / False

In Elliptic Curve Diffie-Hellman (ECDH), a 256-bit key provides security comparable to a 3072-bit classical DH key.

TTrue
FFalse