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

Show parent comment

1

u/SSChicken Jan 16 '18

This would be equivalent of having malware installed on your computer that can watch memory and see what your original key, or color, is. In the video, instead of Eve watching the messages Alice passes to Bob, it's as if Eve was in Alice's house watching over her shoulder as she did it. In that case, security is broken.