Question

3.21 Consider a Diffie-Hellman scheme with a common prime q=353 and a primitive

root = 3.

a. If user A has public key Y₁ = 40, what is A's private key X?

b. If user B has public key Ya 248, what is the shared secret key K?

Question image 1