hackertube.io

Diffie-Hellman Key Exchange

Art of the Problem · explainer · Watch on YouTube

What it is

A short explainer on the history and mechanics of public key cryptography and the Diffie-Hellman key exchange. It uses a mixing-paint-colors analogy to show how two parties can agree on a shared secret in public.

Why Hacker News recommends it

It is the go-to beginner explanation of Diffie-Hellman, recommended because the paint analogy makes the idea click without prior cryptography knowledge.

  • 9 people recommended it
  • 8 different months
  • 3 strong recommendations
  • first 2016, last 2024

What HN commenters said

  1. “I found this video, Public key cryptography - Diffie-Hellman Key Exchange (full version), to be completely enlightening”

    Mixed-color analogy makes key exchange basics click

    zappo2938, 2016-12 · Strong recommendation · in “Crypto 101 – Introductory course on cryptography”

  2. “This is my favorite video on Diffie-Hellman key exchange”

    Favorite explanation of Diffie-Hellman key exchange

    ndesaulniers, 2020-06 · Strong recommendation · in “Postbank to replace 12M bank cards after employees steal 'master key'”

  3. “This is the only video that ever explained it concisely and clearly”

    Concise, clear explanation of public key crypto concepts

    throw1234651234, 2023-05 · Strong recommendation · in “Public Key Crypto Explained in 0 words”

  4. “This is a great pair of videos that intuitively explain Diffie-Helman key exchange”

    Intuitive intro to Diffie-Hellman needing no prior cryptography knowledge

    jzl, 2016-11 · Recommendation · in “Ask HN: Is there a “ground-up” explanation of PGP/GnuPG?”

  5. “here's a video that walks through Diffie Hellman, so that anybody can follow”

    Walks through Diffie-Hellman so anyone can follow

    tialaramex, 2017-06 · Recommendation · in “Ask HN: Want to study SSL, HTTPS, and the works. Where to start?”

  6. “there's a great video that explains it here”

    Simple, intuitive explanation of Diffie-Hellman key exchange

    ivanr, 2017-06 · Recommendation · in “How HTTPS Handshake Happens”

  7. “there's a pretty neat video that outlines how public-key cryptography works using paint colors”

    Paint-color visualization of public-key ideas for beginners

    gregmac, 2017-10 · Recommendation · in “Practical Public Key Cryptography”

  8. “I find it easier to visualise, through colours of paint, for a high-level metaphor of the DH key exchange process”

    High-level paint-mixing metaphor for the DH exchange

    itsrajivshah, 2018-01 · Recommendation · in “Algorithms Explained: Diffie-Hellman”

Excerpts from Hacker News comments, linked to the originals. Summaries and labels were written by a language model from those comments.

Topics: diffie-hellman, key exchange, cryptography, paint analogy, encryption

Also recommended by the same people