Question discussion

In a Diffie–Hellman key exchange with p = 23 and g = 5, Alice's private key is 6 and Bob's private key is 15. What is the shared secret key?

1110Medium DSSSB TGT Computer Science 0 replies 1 views
0

In a Diffie–Hellman key exchange with p = 23 and g = 5, Alice's private key is 6 and Bob's private key is 15. What is the shared secret key?

  • A19
  • B6
  • C8
  • D2
Correct answer: D

Explanation

Alice sends 5⁶ mod 23 = 8 and Bob sends 5¹⁵ mod 23 = 19; the secret is 19⁶ mod 23 = 8¹⁵ mod 23 = 2.

Discussion 0

Nobody has replied yet. Start the discussion!