Module 22 · The Web Is Not the Internet

What does the little lock next to a web address mean?

Lesson 22.4 · The Lock Icon

Rob · Jenny · Sarah

Not “finished loading.”

Grandma Ruth thought the lock meant the page had finished loading.

Rob says it means everything going between her laptop and the site is scrambled, so anyone listening in on the Wi-Fi or along the route only sees gibberish.

Jenny says scrambling messages is thousands of years old, and the simplest version fits on a paper wheel.

The short answer

Everything between the laptop and the site is encrypted, so nobody on the Wi-Fi or along the route can read it. It doesn’t mean the site is honest. Grandma Ruth now checks for the lock and the name before typing anything, which is exactly the habit Module 23 builds on.

Try it yourself

Scramble a message by shifting every letter, then crack one Jenny scrambled.

Step 1 · Scramble it

Message

MEET AT GRANDMAS

Every letter moves 0 along

Scrambled

MEET AT GRANDMAS

What you just did has a name

Encryption and HTTPS

Encryption scrambles information with a secret key so only someone with the right key can unscramble it.

HTTPS is the web’s protocol with encryption added: your browser and the site agree on keys, then everything between them, passwords, card numbers, messages, travels scrambled.

Firefox and Safari show a lock when that’s happening, and Chrome shows a small settings icon that says “Connection is secure.”

None of it means the site is honest; it means no one in between can read or change what you send.

A few more things

Keys, not secret methods

Modern encryption methods are public. Their strength comes from the key: a number so large that guessing it is hopeless.

End-to-end

Some messaging apps use end-to-end encryption: only the people in the chat hold the keys, not even the company running the app.

The lock isn’t trust

Scam sites can get a lock too. Always check the name in the address. This module’s Fix-It Card walks through it.

Go deeper

The longer version, if you want it.

Agreeing on a secret in public

A clever problem: how do your browser and a website agree on a secret key when anyone might be listening to their whole conversation? In the 1970s, mathematicians found ways to do exactly that, using math that’s easy in one direction and practically impossible to reverse.

That idea, public-key cryptography, is why you can safely shop, bank and message with people you’ve never met over a network anyone can listen to. Module 23 picks up the security story.

Quick check

Your browser says the connection to a site is secure. What does that guarantee?

Let’s take it slower

Imagine passing notes in class, but every note goes through ten other kids’ hands. Without encryption, any of them can read it. With encryption, you and your friend agreed on a secret code beforehand, so the ten kids see gibberish. HTTPS is the secret code, worked out automatically every time you visit a site.

More examples

1

Coffee shop Wi-Fi

On public Wi-Fi, others on the network could see unencrypted traffic. With HTTPS, they only see that you visited a site, not what you typed.

2

Logging in at a coffee shop

At a coffee shop, everyone shares the same Wi-Fi. When you log in to your email over HTTPS, the person at the next table on that network sees scrambled data going to your email provider, not your password.

Back to the question

So what does the lock mean?

Show the answer

Everything between the laptop and the site is encrypted, so nobody on the Wi-Fi or along the route can read it. It doesn’t mean the site is honest. Grandma Ruth now checks for the lock and the name before typing anything, which is exactly the habit Module 23 builds on.

One last question

Grandma Ruth asks if the lock in Firefox means a site is safe. Who answered best?

Talk Card

Talk Card · 22.4

A secure connection means nobody can read what you send. It doesn’t mean the site is honest. Check the name too.

How Computers Work · pettigrewlab.com/learn

Next lesson