222k views
0 votes
You are doing a Diffie-Hellman-Merkle key exchange with Danny using generator 2 and prime 29. You pick the secret number 4. What value will you send to Danny

User Miccet
by
5.0k points

1 Answer

4 votes

Answer:

16

Step-by-step explanation:

The computation of the diffle-hellman- markle key exchange, first a prime number p is selected and then a number g is selected. g is co prime to p.

For this question, given

Generator g, = 2

Prime p = 29

Secret number = 4

We have to compute

A = g^a(mod p)

A = 2⁴(mod 29)

A = 16(mod29)

The answer to this is 16. So I will be sending the number 16 to Danny.

Thank you!

User Realhu
by
5.8k points