| written 3.6 years ago by | • modified 3.6 years ago |
Show steps of the Diffie Hellman Key Exchange algorithm with one solved example.
Write the java program for the Diffie Hellman Key Exchange that accepts the value for P and G from the user.
But, randomly generate the private key values for Alice and Bob and calculate Secret Key SA and SB from both sides.
Also, show randomly generated values for private keys (PA, PB), calculated values for public keys (pa, pb), and finally secret keys (SA, SB)
Test the program for following Three examples:
a] P = 7, G = 17
b] P = 17, G = 5
c] P = 5, G = 3

and 3 others joined a min ago.
and 5 others joined a min ago.