r/programming • u/dominatrix-octopus • Jan 16 '18
Cryptography: Diffie-Hellman key exchange explained intuitively using colors
https://youtu.be/YEBfamv-_do?t=2m18s
2.5k
Upvotes
r/programming • u/dominatrix-octopus • Jan 16 '18
View all comments
Show parent comment
1
u/evincarofautumn Jan 17 '18
You mean all communications go through Eve? That still doesn’t reveal the shared secret to Eve. Eve never has enough information to recover the shared secret (in a reasonable amount of time), because it depends on having at least one of Alice or Bob’s private secrets, which are 1. never sent and 2. hard to derive from the mixtures that are sent. Eve can find the shared secret if one of the private secrets leaks, though.