Cryptography, Cybersecurity, Number Theory, Information Security, Rsa.
Diffie-Hellman key exchange is to compute g^(ab) given the values of g^a (mod p) and g^b (mod p). Example of using DHKE to generate a shared secret over an insecure channel Steve and Anthony want to generate a secret number only they know. Beforehand, they agreed on the numbers p = 941 and g = 627,