Lazo Lab Sign up

Cryptography / Encryption

Lesson 15 of 25

Key exchange

Diffie-Hellman lets two people agree on a shared secret over a public channel without ever sending it. Every HTTPS connection does this.

Key points

  • Agree on a secret in public
  • Used at the start of TLS
  • Forward secrecy uses fresh keys each session
Watch a video on thisOpens YouTube search results for “Key exchange” in a new tab

Quiz · +10 XP

What does Diffie-Hellman let two parties do?

Log in to save progress and earn XP.