DH or RSA for encryption: which makes better sense?
The Diffie-Hellman key exchange is a precise technique of exchanging cryptographic keys securely over a public channel. It was originally conceived by Ralph Merkle and was the original definite example of public-key cryptography. Other term called for Diffie-Hellman key exchange is exponential key exchange. It is a process of digital encryption that utilizes a number raised to particular powers to create decryption keys.
The created decryption keys are in no way directly transmitted. The gravest constraint of Diffie-Hellman in its pure form is the lack of authentication or verification. Communications established with Diffie-Hellman are susceptible to “man in the middle” attacks. Supposedly, the application of Diffie-Hellman should be in combination with a known authentication method like digital signatures to confirm the identities of the users.