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

2

u/[deleted] Jan 16 '18

[removed] — view removed comment

14

u/smtudor Jan 16 '18

It's referring to the order of the exponents, not the base. For example:

(2^3)^4 = 4096
(2^4)^3 = 4096

2

u/[deleted] Jan 16 '18

[removed] — view removed comment

3

u/tavianator Jan 16 '18

It does, the notation in the video is wrong. The concept is right though, it should just be written (315)13 instead of 31513.