Skip to main content

Diffie-Hellman

An asymmetric encryption algorithm created to let two users that are stranger to each other to safely create a shared key over a public channel (like the Internet).

The Diffie-Hellman exchange process is as follows:

  1. The two users agree on a prime number $p$