Compute the two public keys and the session key for the Diff
Compute the two public keys and the session key for the Diffie-Hellman Key Agreement protocol with the parameters p = 467, g = 2 and:| X_A = 9, Y_B = 17
Solution
p= 467
g = 2
YA= 2XA (mod p) = 29 (mod 467) = 45
So public keys are 45 and 17 and shared session key = YBXA (mod p)= 179 (mod 467) = 332.
