Suppose that users Alice and Bob carry out the Diffie-Hellman key agreement protocol with p = 50147 and g = 5. Suppose that Alice chooses x = 1367 and Bob chooses y = 3789. Show the computations performed by both Alice and Bob, and determine the key that they will share.© BrainMass Inc. brainmass.com March 21, 2019, 3:27 pm ad1c9bdddf
On Alice side:
A = g^x mod p = 5^1367 mod 50147 = 38385
Then Alice sends g, p, ...
Diffie-Hellman cryptography is applied.