Computer science
Can you send a message only your friend can read?
Put the whole course together: agree a key in the open, scramble the gate code with it, and add a hash so your friend knows nobody changed it.
In this lesson
Gate code 4271, from your phone to your friend's.
Your notebook page
- Hash: a one-way check
- Key = B^a mod p
- Sign with d, check with e
- Tries ≈ 16^k
Where you'll see it today
The lock icon in a WhatsApp chat, the padlock in your browser, logging in to a game, a crypto headline.
The course
Secrets online
Every lesson adds a part. Finish them all to build the Secret-message machine.
- 1Password hashesHow does a site check your password without knowing it?
- 2Secret chatsHow does WhatsApp keep your chats secret?
- 3Digital signaturesHow does the browser padlock prove a site is real?
- 4Bitcoin miningHow does Bitcoin work without a bank?
- 5Build the machineCan you send a message only your friend can read?
