How Encryption Works

Secrets in Plain Sight - From ancient Roman generals to your online banking, encryption keeps secrets safe.

1

The Caesar Cipher

Julius Caesar protected military secrets by shifting each letter in his messages. The letter A might become D, B becomes E, and so on. Spin the wheel to see how it works!

Shift: 3
Fun Fact
Caesar used a shift of 3 for his secret military messages. Today, this cipher is so easy to break that it's used to teach cryptography basics!
2

Breaking the Code: Frequency Analysis

Simple ciphers have a weakness: letter patterns. In English, 'E' is the most common letter. By counting letters in encrypted text, codebreakers can guess the shift!

Codebreaker's Hint

In English, 'E' appears ~13% of the time. The most frequent letter in the cipher text is probably 'E' shifted. Look for the tallest bar - what letter is it? Count backwards to find the shift!

Fun Fact
Arab scholar Al-Kindi invented frequency analysis in the 9th century, making him the first codebreaker in history!
3

Symmetric vs Asymmetric

Modern encryption uses two main approaches. Click each to learn the difference!

Symmetric

Same key locks AND unlocks. Like a house key - anyone with a copy can get in.

🔑 📦 🔑

Asymmetric

Two different keys - a public one to lock, a private one to unlock. Like a mailbox!

🔓 📦 🔒
Click a card to learn more

Each type has strengths and weaknesses. Most secure systems use BOTH together!

Fun Fact
When you visit your bank's website, your browser uses asymmetric encryption to safely exchange a symmetric key, then uses that faster symmetric key for the actual data. Best of both worlds!
4

The Padlock: HTTPS Explained

See that padlock in your browser? It means your connection is encrypted. Watch what happens when you connect to a secure website!

🔒 https://www.mybank.com
👋
Hello
📜
Certificate
🔑
Key Exchange
🔒
Encrypted!
The TLS Handshake

Before any data is sent, your browser and the server perform a "handshake" to establish a secure connection. This takes about 100-500 milliseconds!

Important
HTTPS protects data in transit, but the padlock doesn't mean the website itself is safe! Scam sites can have padlocks too. Always check the actual domain name!
5

Brute Force: Why Passwords Matter

Hackers can try billions of password guesses per second. How long would YOUR password survive?

Enter a password
Time to crack with modern hardware
0
Length
0
Char Types
0
Combinations
Password Tips

Length beats complexity: "correct horse battery staple" > "Tr0ub4dor&3"
Use a password manager to generate and store unique passwords
Enable two-factor authentication whenever possible

Fun Fact
A modern GPU can test 100 billion passwords per second. But adding just ONE more character to your password can multiply the crack time by 62-95x!
6

Encryption Playground

Try different encryption methods yourself! Encrypt a message and see the scrambled result.

Plain Text

Encrypted

(Shift amount: 1-25)

Secrets Unlocked!

You've discovered how encryption protects information from ancient times to today.

0
Messages Encrypted
0
Methods Tried
0
Time Exploring

Transform & Scramble

Encryption transforms readable data into scrambled code that only the right key can unlock.

Pattern Weakness

Simple ciphers like Caesar can be broken by analyzing letter patterns.

Two Key Types

Modern encryption uses symmetric (one key) and asymmetric (two keys) methods.

HTTPS Protection

HTTPS keeps your data safe while traveling across the internet.

Length Matters

Longer passwords with more character types are exponentially harder to crack.

Ready to Create?

Put your new knowledge into practice!

Suggest a Correction