Public key tools, such as Diffie-Hellman and RSA, can be used for key exchange, encryption, and digital signatures. We will discuss the applications of these scenarios later, but first, we need to cover the main concept of public key cryptography. Wh...