Encryption, Cryptography, Technology, Security, Key Exchange.
generator g, where g is a primitive root of p. Both p and g are public knowledge and can be shared openly. Laura chooses a random secret number, a, and calculates A = g^a mod p. She sends A to Tom. Tom chooses a random secret number, b, and calculates B = g^b mod p. He sends B to Laura. Laura