Everyday Learning العربية
Computer scienceSecrets online · Lesson 2 of 5 · 7 min

How does WhatsApp keep your chats secret?

Your messages cross Wi-Fi and cables anyone could tap. Before the first message, your phone and your friend's agree a secret key, out in the open, without ever sending it.

In this lesson

Like paint: mix a public colour with your secret one, swap, then mix in your secret again.

Your notebook page

  • Each side picks a private secret.
  • Swap scrambled versions in the open.
  • Mix the other's with your own: same key.
  • Secrets never travel.

Where you'll see it today

Starting a WhatsApp chat, joining café Wi-Fi, a FaceTime call, the padlock on a banking site.

The course

Secrets online

Every lesson adds a part. Finish them all to build the Secret-message machine.

  1. 1Password hashesHow does a site check your password without knowing it?
  2. 2Secret chatsHow does WhatsApp keep your chats secret?
  3. 3Digital signaturesHow does the browser padlock prove a site is real?
  4. 4Bitcoin miningHow does Bitcoin work without a bank?
  5. 5Build the machineCan you send a message only your friend can read?
Open in the app Download on the App Store