Diffie-Hellman-Algorithm is primarily a protocol that is used for key exchange. Using this interactive protocol two parties will derive a common secret key by communicating each other. The security of Diffie-Hellman algorithm is mainly based on the difficulty of computing the discrete logarithms.

**Applications of Diffie Hellman Algorithm:**

Many protocol uses Diffie-Hellman algorithm to enhance security and few of them are:

- Secure Shell (SSH)
- Transport Layer Security (TLS) / Secure Sockets Layer (SSL)
- Public Key Infrastructure (PKI)
- Internet Key Exchange (IKE)
- Internet Protocol Security (IPSec)

**Limitations of Diffie Hellman Algorithm:**

The following are the limitations of Diffie-Hellman algorithm:

- Lack of authentication procedure.
- Algorithm can be used only for symmetric key exchange.
- As there is no authentication involved, it is vulnerable to man-in-the-middle attack.
- As it is computationally intensive, it is expensive in terms of resources and CPU performance time.
- Encryption of information cannot be performed with the help of this algorithm.
- Digital signature cannot be signed using Diffie-Hellman algorithm.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the **CS Theory Course** at a student-friendly price and become industry ready.