The DiffieHellman key exchange is used extensively in Internet communications today. Many web applications use this key exchange because it achieves Perfect Forward Secrecy (using ephemeral keys) which provides more security than other key exchange algorithms like RSA. In this video, John explains the DiffieHellman key exchange, and he walks through an example of the calculations used to make it all work.
https://community.f5.com/articles/lig...