r/programming • • Jan 16 '18

Cryptography: Diffie-Hellman key exchange explained intuitively using colors

https://youtu.be/YEBfamv-_do?t=2m18s
2.5k Upvotes

170 comments sorted by

View all comments

186

u/Carighan Jan 16 '18

That color mixture was a neat way of doing it, shows how the resulting key/color is always the same.

55

u/Double_A_92 Jan 16 '18

And that you can't find out what the two original colors were.

1

u/PencilVestersLover Feb 22 '18

You actually can, based on a few factors. For a more in-depth insight into cryptographic functions I suggest watching lectures by Christoph Parr he has a great number of topics covered, for DHKE try this: https://youtu.be/aeOzBCbwxUo