Computer Science, asked by anujjimkanpur, 11 months ago

Consider the two parties ALICE and BOB uses the Diffie-Hellman key exchange technique. Assume that the modulus (p) is 5 and the primitive root (g) is 3. ALICE chooses 2 and BOB chooses 4 as their secrets respectively. What is the common secret key between the two parties?

(a) 1
(b) 5
(c) 3
(d) 2

Answers

Answered by Aastik24
0

Answer:

awesom3 qiestin

Explanation:

okkkkkkkkkhfjjug guang hrg uisuzu pimco

Answered by aum
0

Answer:

Primitive root = g = 3

Modulus = p = 7

Xa = 2   and   Xb = 5

Ya = 32 mod 7 = 2

Yb = 35 mod 7 = 5

We assume D-H key to be K.

K = YaXb mod 7

K = 25mod 7 = 4

Or

K = YbXa mod 7

K = 52 mod 7 = 4

 

Thus, option (B) is correct.

Explanation:

Similar questions