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

4

u/geordano Jan 17 '18

Works, but this need one additional exchange.

  1. I mix the color and send to you.
  2. You mix the color and send to me.
  3. I mix your mixed color with mine and I got the key and so do you. (You don't need to send it back to other person like in your example)