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
2
u/Reinbert Jan 16 '18
You really only need to understand raising numbers to a power and the modulo operator.
The DH Key-Exchange is in itself a one-way function: a mathematician from 500 years ago would not have a problem understanding any of it, but inventing it was very hard.
There are countless examples on the internet, you can try out this one. Give it a try, I'm sure you will get it in no time :)