User A and User B want to communicate with each other They select Diffie Hellman algorithm to exchange their secret keys Let say both of them decided -3 and a-17 user A has secret number a5, whereas user B has secret number bell What will be their symmetric key after this process?
a = 5
A = ga mod p = -35 mod 17 = -5
b = 7
B = gb mod p = -37 mod 17 = -11
A and B exchange A and B in view of C(third party)
keya = B a mod p = -115 mod 17 = -10
keyb = A B mod p = -57 mod 17 = -10
Comments
Leave a comment