Skip to content
HomeVideos
AllLongsCategoriesPlaylists
BooksBlogsPodcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K

    Diffie-Hellman Key Exchange

    Art of the Problem

    9 HN recommenders · recommended in 10 months, 2016–2024

    YouTube

    8:38 · 939K views · Jul 31, 2012

    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.

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

    Systems, Networks & SecurityCryptography
    1. 17:50
      Blockchain 101 - A Visual DemoAnders Brownworth3.3M views • 10 years ago
    2. 25:16
      But how does bitcoin actually work?3Blue1Brown18M views • 9 years ago
    3. 1:44
      What is Bitcoin? (v1)WeUseCoins10M views • 15 years ago
    4. 22:36
      Computer Scientist Explains One Concept in 5 Levels of Difficulty | WIREDWIRED7.2M views • 4 years ago
    5. 1:32:08
      Theory and Practice of CryptographyGoogle TechTalks74K views • 18 years ago
    6. 1:30:50
      Lecture 7: Introduction to Galois Fields for the AES by Christof PaarIntroduction to Cryptography by Christof Paar278K views • 12 years ago
    7. 22:59
      How Does SHA-256 Work?learnmeabitcoin375K views • 6 years ago
    8. 1:06:36
      Computer Security 161 Cryptocurrency LectureNicholas C Weaver128K views • 4 years ago
    9. 48:02
      BlackHat USA 2011: SSL And The Future Of AuthenticityChristiaan00895K views • 15 years ago
    10. 5:09
      Essence of linear algebra preview3Blue1Brown2.8M views • 10 years ago
    11. 3:59
      The Lava Lamps That Help Keep The Internet SecureTom Scott4.3M views • 8 years ago
    12. 51:32
      Behind the Scenes of iOS SecurityBlack Hat127K views • 10 years ago
    13. 1:07:22
      Invited Talk - Guy SteeleClojureTV39K views • 9 years ago
    14. 14:27
      A simple trick to design your own solutions for Rubik's cubesMathologer1.6M views • 10 years ago
    15. 40:21
      Bitcoin - Unmasking Satoshi NakamotoBarely Sociable1.6M views • 6 years ago
    16. 10:58
      Flaw in the Enigma Code - NumberphileNumberphile5.4M views • 13 years ago
    17. 46:22
      DEF CON 19 - Moxie Marlinspike - SSL And The Future Of AuthenticityDEFCONConference11K views • 13 years ago
    18. 57:03
      HACKENBUSH: a window to a new world of mathOwen Maitzen562K views • 5 years ago
    19. 1:07:10
      Brian Beckman: Don't fear the Monadjasonofthel33t415K views • 13 years ago
    20. 1:01:39
      "Simple Made Easy" - Rich Hickey (2011)Strange Loop Conference220K views • 5 years ago

    11 comments from Hacker News

    1. @ndesaulniersJun 2020· in “Postbank to replace 12M bank cards after employees steal 'master key'”

      Interesting, thanks for sharing (I too was curious). This is my favorite video on Diffie-Hellman key exchange which is a slightly different problem (sharing a secret, without the constraint of dividing the key): this video (oh, hey, same channel! Guess I'll need to check out more videos from here!)

      Strongly recommendsView on HN
    2. @zappo2938Dec 2016· in “Crypto 101 – Introductory course on cryptography”

      For idiots like myself, I found this video, Public key cryptography - Diffie-Hellman Key Exchange (full version), to be completely enlightening using mixed colors to explain the most basic features of a cryptography algorithm.[0] [0] this video

      Strongly recommendsView on HN
    3. @throw1234651234May 2023· in “Public Key Crypto Explained in 0 words”

      This is the only video that ever explained it concisely and clearly, IF you don't care about trying to actually implement it: this video

      Strongly recommendsView on HN
    4. @ivanrJun 2017· in “How HTTPS Handshake Happens”

      As others have already pointed out, this explanation focuses on the RSA key exchange, which has been deprecated. It's not recommended for use with the current line of protocols (TLS 1.2 and earlier) and it's been completely removed from TLS 1.3 (work in progress, but close to being finished). The key weakness of the RSA key exchange is that session encryption keys are transported over the network encrypted with the server's public key. When the server's private key is compromised in some way, the attacker can passively decrypt all traffic, they can also "go back in time" to decrypt all previous conversations they might have recorded and kept. For a more secure handshake approach, consider the Diffie-Hellman key exchange, which is a way for two parties to agree on a secret number (a very large number when used for encryption, of course) that third party can't discover from looking at the network traffic. It's a very simple and intuitive algorithm; there's a great video that explains it here: this video Today, we generally use the ephemeral elliptic curve DH variant (ECDHE), which has better security characteristics and works much faster. However, DH is not sufficient, you must also authenticate the other party. Otherwise you could be negotiating your key exchange with the attacker and not the real recipient. This is where public cryptography comes in. After the key exchange, both parties use their private keys to sign the transcripts of the entire conversation up until that point

      RecommendsView on HN
    5. @tialaramexJun 2017· in “Ask HN: Want to study SSL, HTTPS, and the works. Where to start?”

      I recommend beginning at the fundamentals. For example here's a video that walks through Diffie Hellman, so that anybody can follow, you can probably sprint through it, but by taking it slow they avoid accidentally forgetting anything important. this video Grasping the fundamentals means that when it comes to policy decisions (e.g. in the management of certificates) you can see what the consequences of a particular decision are, rather than just hoping that whoever proposed that policy knew what they were doing. For example, I think a lot of people today use Certificate Signing Request (CSR) files without understanding them at all. But once you have a grounding in the underlying elements you can see at once what the CSR does, and why it's necessary without needing to have that spelled out separately. Or another example, understanding what was and was not risky as a result of the known weakness of SHA-1. I saw a lot of scare-mongering by security people who saw the SHA-1 weakness as somehow meaning impossible things were now likely, but it only affected an important but quite narrow type of usage, people who understood that could make better, more careful decisions without putting anybody at risk.

      RecommendsView on HN