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/gramathy Jan 16 '18

Just remember that the base takes precedence over the exponent, and so exponents are calculated bottom-up rather than top-down.