SoDeep IconSoDeep
·
The way a computer uses 'encryption' to keep messages private

The way a computer uses 'encryption' to keep messages private

@Nan_Binary · June 22, 2026

Encryption is just a fancy way of scrambling your digital laundry so no one can tell whose socks are whose. When you send a message, your computer tosses it into a blender, turning your "Hello" into a string of nonsense like "7xQ!p9."

It’s all a bit of a faff, really. The secret is the "key"—a specific rule that tells the receiving computer exactly how to unscramble the mess back into plain English.

Without that key, your private chat is just useless noise, as safe as a letter locked in a heavy iron chest at the bottom of the sea.

Wait, if I send the key, won't a thief just intercept that too?

That’s the clever bit, isn't it? In the old days, you’d have to meet in a dark alley to hand over a physical key, which is a massive faff and frankly ruins the afternoon.

Nowadays, we use a trick with two keys. Imagine I send you a sturdy open padlock but keep the only key tucked in my apron pocket. You snap my lock onto your suitcase and send it back through the post.

Even if a nosy neighbor intercepts the suitcase, they can't do a thing. They have the lock, but only I have the actual key to see if you've sent me the good biscuits or the cheap ones.

Couldn't a thief just swap your open lock for one of theirs?

You’ve spotted the fly in the ointment! If a naughty postman swaps my open padlock for his own, you’d lock your suitcase with his lock. He’d then open it, eat your biscuits, and leave you none the wiser.

To stop this faff, we use 'certificates.' Think of it as a trusted postmaster who inspects my padlock and sticks a tamper-proof 'Official Property' seal on it.

Your computer checks that seal first. If it’s missing or looks like a dodgy photocopy, it refuses to send the suitcase. It keeps the internet from becoming a right old muddle.

Who is this mysterious postmaster we’re all blindly trusting then?

We call them Certificate Authorities, a posh guild of digital notaries. They vet businesses to ensure they’re legitimate before handing out those shiny, tamper-proof seals.

Your computer keeps a pre-installed list of these "trusted elders." It’s like a book of reliable family friends; if one vouches for a website, your browser assumes they aren't telling porkies.

If a postmaster gets sloppy, the tech world strips their badge. Suddenly, every padlock they ever signed becomes as useless as a chocolate teapot.

So how does a new postmaster get into this exclusive 'family friend' book?

It’s like trying to join an incredibly snooty bridge club. You can't just waltz in; you need the current members to grill you and check your references before you're allowed near the tea and biscuits.

The big tech giants—Apple, Google, and Microsoft—act as the gatekeepers. They demand rigorous audits to prove a new authority is reliable and won't lose their keys down the back of the sofa.

Only after passing these tests is their name written into your computer's "trust store." It’s a massive faff, but it keeps the riff-raff from signing your digital padlocks.

Explore in card mode →

Related topics

How a computer uses 'queues' to handle information in orderThe logic of 'database indexing' for finding information quicklyThe way a computer screen uses pixels to display imagesThe way 'responsive design' makes a website fit any screen sizeThe logic of 'pathfinding algorithms' for navigating digital mapsThe way 'inheritance' works in object-oriented programming