4 ms·
If you haven't seen it, there's a pretty neat video that outlines how public-key cryptography works using paint colors [1]. It's focused on Diffie-Hellman key e
by gregmac 9y ago
If you haven't seen it, there's a pretty neat video that outlines how public-key cryptography works using paint colors [1]. It's focused on Diffie-Hellman key exchange, but it's a great intro for beginners to be able to visualize the concepts, and I think helps provide some context before jumping right into the GPG command line.
[1] https://www.youtube.com/watch?v=YEBfamv-_do&t=2m25s https://www.youtube.com/watch?v=YEBfamv-_do&t=2m25s
- WhoBeI 9y agoTheir 8 part series on cryptography is also very good. https://www.youtube.com/watch?v=lICOtR078Gw&list=PLB4D701646DAF0817 https://www.youtube.com/watch?v=lICOtR078Gw&list=PLB4D701646...
- helloasdfasdf 9y agoThe colour analogy is a bit off, despite being a good way to get the basis of the protocol across. The problem is with what he explains as a one-way function: https://s3.amazonaws.com/static.kaytor.ca/screenshots/incorrect-one-way-function.png https://s3.amazonaws.com/static.kaytor.ca/screenshots/incorr... While it's true that it's not possible to derive the input colours given only the output, in the case of DH both the output and the yellow (common) colour is available to Eve, which makes it trivial to reverse the other input. The actual property a one-way function needs to be suitable for DH is to remain hard to reverse when both the output and one of the inputs is known.