You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode Man-in-the-middle attack: why a secret key is useless with the wrong person

What the HTTPS padlock means: how your browser talks in secret on a Wi-Fi anyone can read

Digital signatures: how a website proves who it is without showing its secret

Anyone can send your phone a message that says "I am the website of your bank". The real website can prove it. It uses a secret that it never shows to anybody. How?

  1. 1 Rono says "I am shop.example", and the real shop says it too. But the shop has something Rono does not have: a pair of keys, made together. The private key never leaves the shop's server, and anyone may copy the public key.shop.exampleprivate key:never leavespublic key:anyone may copy it

    Rono says "I am shop.example", and the real shop says it too. But the shop has something Rono does not have: a pair of keys, made together. The private key never leaves the shop's server, and anyone may copy the public key.

  2. 2 During the key exchange, the shop takes everything said so far, both mixes included, and signs it with its private key. Only that key can make this signature.the conversationso farMiva's mixthe shop's mixprivate key

    During the key exchange, the shop takes everything said so far, both mixes included, and signs it with its private key. Only that key can make this signature.

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

Next episode Certificate authorities: who signs that a public key belongs to a website

Share this comic

More comics