News for hackers. Stuff that matters.
Re:Ask HN: What's your favorite illustration in Computer Sci... by martopix on Thursday January 12, 2023 @05:09AM (#34351460)
Various things explained without words in the same style as IKEA mounting instructions. Here is public key cryptography: https://idea-instructions.com/public-key/ and quicksort (KVICK SÖRT) https://idea-instructions.com/quick-sort/
Re:Ask HN: What's your favorite illustration in Computer Sci... by largolagrande on Thursday January 12, 2023 @06:56AM (#34352218)
Concerning the public key cryptography for the exchange of private encrypted messages, I would have rather represented the shared public keys by padlocks, and the private key by the key allowing to open the padlocks. This way, it is easier to understand that there is a relationship between the two keys. In his drawing, 2 different keys can open the safe door, which is not possible in the physical world...
Re:Ask HN: What's your favorite illustration in Computer Sci... by kulhur on Thursday January 12, 2023 @07:20AM (#34352441)
What about signed messages? Then the private key is the padlock and the public key is the... key.
Re:Ask HN: What's your favorite illustration in Computer Sci... by quietdean on Thursday January 12, 2023 @07:55AM (#34352770)
Just to let you know, out of interest, you can have two different keys for a physical lock. It's how master-keying works.
Re:Ask HN: What's your favorite illustration in Computer Sci... by rmetzler on Thursday January 12, 2023 @09:51AM (#34354278)
I like this visual explanation of the Diffie-Hellman Key Exchange https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exc...
Re:Ask HN: What's your favorite illustration in Computer Sci... by fknorangesite on Thursday January 12, 2023 @10:13AM (#34354660)
Yeah I've always liked this video explaining D-H using the same paint-mixing metaphor: https://www.youtube.com/watch?v=YEBfamv-_do