News for hackers. Stuff that matters.
Re:Practical Public Key Cryptography by gregmac on Wednesday October 18, 2017 @11:24AM (#15499868)
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

Re:Practical Public Key Cryptography by WhoBeI on Wednesday October 18, 2017 @11:56AM (#15500216)
Their 8 part series on cryptography is also very good.

https://www.youtube.com/watch?v=lICOtR078Gw&list=PLB4D701646...

Re:Practical Public Key Cryptography by helloasdfasdf on Wednesday October 18, 2017 @05:01PM (#15503042)
The 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/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.