cover

Secret Math Envelopes

How does encryption keep secrets safe?
Every day, ~~billions of secret messages~~ zoom through the internet โ€” your texts, your passwords, the number on your cr

Every day, billions of secret messages zoom through the internet โ€” your texts, your passwords, the number on your credit card. Anyone could peek at them as they fly past. So why don't hackers just read everything? Because of a mathematical magic trick called encryption that scrambles messages so thoroughly that only the right person can unscramble them.

~~Imagine you want to send your friend a secret note~~, but you have to pass it through a crowded room full of **nosy pe

Imagine you want to send your friend a secret note, but you have to pass it through a crowded room full of nosy people. You could write it in a code โ€” swap every letter for a different one. A becomes Z, B becomes Y, C becomes X. "HELLO" turns into "SVOOL." Anyone who grabs the note just sees gibberish.

That's encryption in its simplest form: a **reversible scrambling rule**. Your friend needs *the key* โ€” the rule for swa

That's encryption in its simplest form: a reversible scrambling rule. Your friend needs the key โ€” the rule for swapping letters back โ€” to decode "SVOOL" into "HELLO" again. Without the key, the message stays nonsense. Modern encryption works the same way, but with math so complex that even a supercomputer would take millions of years to crack it by guessing.

~~Here's the clever part.~~ When you send a message online, you and the website use something called ++public key encryp

Here's the clever part. When you send a message online, you and the website use something called public key encryption. The website gives everyone a special public key โ€” a math recipe that scrambles messages. You use it to encrypt your password. But only the website has the matching private key โ€” the one math recipe that can unscramble what the public key scrambled.

It's like **a mailbox with a slot** that's easy to drop letters into but *impossible to pull them back out of*. You can

It's like a mailbox with a slot that's easy to drop letters into but impossible to pull them back out of. You can put a secret in, but only the person with the mailbox key can open it and read what's inside. Even you, the sender, can't un-encrypt your own message once it's scrambled โ€” only the private key can do that.

~~The math behind this is wild.~~ The public key and private key are linked by **enormous prime numbers** โ€” numbers that

The math behind this is wild. The public key and private key are linked by enormous prime numbers โ€” numbers that can only be divided by themselves and one, like 17 or 89, but millions of digits long. Multiplying two huge primes together is easy. Figuring out which two primes were multiplied to make the result? Nearly impossible. That's the trapdoor: simple to lock, impossibly hard to unlock without the key.

~~So when you type your password into a website~~, it gets **scrambled instantly into a string of mathematical chaos**.

So when you type your password into a website, it gets scrambled instantly into a string of mathematical chaos. Hackers snooping on the internet connection see only noise. The website's private key unscrambles it in a split second. Your secret never travels in the open โ€” it's locked inside an unbreakable mathematical envelope the whole journey.

Every "https" website, every encrypted chat app, every digital payment uses this same trick: a public key anyone can use

Every "https" website, every encrypted chat app, every digital payment uses this same trick: a public key anyone can use to lock secrets, and a private key only the receiver holds to unlock them. It's not magic โ€” it's math. But math so beautifully tricky that it keeps the whole digital world's secrets safe, billions of times a day, from everyone except the people they're meant for.

How was this book?

A Wonderleaf Book

Secret Math Envelopes

โ€” How does encryption keep secrets safe? โ€”

Wonderleaf Editions
โ€” ex libris โ€”
A Wonderleaf Book

Secret Math Envelopes

How does encryption keep secrets safe?

Wonderleaf Editions ยท MMXXVI
Scene 1
Every day, ~~billions of secret messages~~ zoom through the internet โ€” your texts, your passwords, the number on your cr
Secret Math Envelopes2
Scene 1

Every day, billions of secret messages zoom through the internet โ€” your texts, your passwords, the number on your credit card. Anyone could peek at them as they fly past. So why don't hackers just read everything? Because of a mathematical magic trick called encryption that scrambles messages so thoroughly that only the right person can unscramble them.

3Secret Math Envelopes
Scene 2
~~Imagine you want to send your friend a secret note~~, but you have to pass it through a crowded room full of **nosy pe
Secret Math Envelopes4
Scene 2

Imagine you want to send your friend a secret note, but you have to pass it through a crowded room full of nosy people. You could write it in a code โ€” swap every letter for a different one. A becomes Z, B becomes Y, C becomes X. "HELLO" turns into "SVOOL." Anyone who grabs the note just sees gibberish.

5Secret Math Envelopes
Scene 3
That's encryption in its simplest form: a **reversible scrambling rule**. Your friend needs *the key* โ€” the rule for swa
Secret Math Envelopes6
Scene 3

That's encryption in its simplest form: a reversible scrambling rule. Your friend needs the key โ€” the rule for swapping letters back โ€” to decode "SVOOL" into "HELLO" again. Without the key, the message stays nonsense. Modern encryption works the same way, but with math so complex that even a supercomputer would take millions of years to crack it by guessing.

7Secret Math Envelopes
Scene 4
~~Here's the clever part.~~ When you send a message online, you and the website use something called ++public key encryp
Secret Math Envelopes8
Scene 4

Here's the clever part. When you send a message online, you and the website use something called public key encryption. The website gives everyone a special public key โ€” a math recipe that scrambles messages. You use it to encrypt your password. But only the website has the matching private key โ€” the one math recipe that can unscramble what the public key scrambled.

9Secret Math Envelopes
Scene 5
It's like **a mailbox with a slot** that's easy to drop letters into but *impossible to pull them back out of*. You can
Secret Math Envelopes10
Scene 5

It's like a mailbox with a slot that's easy to drop letters into but impossible to pull them back out of. You can put a secret in, but only the person with the mailbox key can open it and read what's inside. Even you, the sender, can't un-encrypt your own message once it's scrambled โ€” only the private key can do that.

11Secret Math Envelopes
Scene 6
~~The math behind this is wild.~~ The public key and private key are linked by **enormous prime numbers** โ€” numbers that
Secret Math Envelopes12
Scene 6

The math behind this is wild. The public key and private key are linked by enormous prime numbers โ€” numbers that can only be divided by themselves and one, like 17 or 89, but millions of digits long. Multiplying two huge primes together is easy. Figuring out which two primes were multiplied to make the result? Nearly impossible. That's the trapdoor: simple to lock, impossibly hard to unlock without the key.

13Secret Math Envelopes
Scene 7
~~So when you type your password into a website~~, it gets **scrambled instantly into a string of mathematical chaos**.
Secret Math Envelopes14
Scene 7

So when you type your password into a website, it gets scrambled instantly into a string of mathematical chaos. Hackers snooping on the internet connection see only noise. The website's private key unscrambles it in a split second. Your secret never travels in the open โ€” it's locked inside an unbreakable mathematical envelope the whole journey.

15Secret Math Envelopes
Scene 8
Every "https" website, every encrypted chat app, every digital payment uses this same trick: a public key anyone can use
Secret Math Envelopes16
Scene 8

Every "https" website, every encrypted chat app, every digital payment uses this same trick: a public key anyone can use to lock secrets, and a private key only the receiver holds to unlock them. It's not magic โ€” it's math. But math so beautifully tricky that it keeps the whole digital world's secrets safe, billions of times a day, from everyone except the people they're meant for.

17Secret Math Envelopes

~ finis ~

Tiny picture books for big little questions.

โ€” a small constellation of questions โ€”
โœฆWonderleaf
Editions