Encryption, Cryptography, Technology, Security, Key Exchange.
calculates the shared secret key as K = B^a mod p. Tom calculates the shared secret key as K = A^b mod p. Both parties now have the same secret key, K, which can be used for symmetric encryption and decryption of messages exchanged over the insecure channel. Since private keys a and b are never