Comment Comment by anon_tor_12345 diffie-hellman key change for anyone:given large prime p, some a, some b:1. A = g^a mod p2. B = g^b mod p3. exchange A,B4. B^a mod p = (g^b)^a mod p = (g^a)^b mod p = A^b mod p is the shared key.the end parent anon_tor_12345 5 years ago
given large prime p, some a, some b:
1. A = g^a mod p
2. B = g^b mod p
3. exchange A,B
4. B^a mod p = (g^b)^a mod p = (g^a)^b mod p = A^b mod p is the shared key.
the end