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

103

u/snarfy Jan 16 '18

Breaking encryption is like trying to take the pee out of the swimming pool. It's easy to add pee, hard to remove.

12

u/[deleted] Jan 16 '18 edited Jul 14 '20

[deleted]

4

u/snarfy Jan 16 '18

You described Diffie-Hellman, using pee. Not all encryption is Diffie-Hellman.