๐Ÿ” Encryption, Explained Visually

How the world's strongest encryption actually works โ€” in plain English with diagrams.

๐ŸฉบThe Health Report (2026)

What is the state of the most encrypted things right now?

UNBROKEN โœ…

AES-256

Protects everything from your phone to top-secret government data. Never broken. Even quantum computers barely dent it.

UNBROKEN โœ…

Signal Protocol (E2EE)

The encryption billions use daily (Signal, WhatsApp). Not even the company can read your messages.

MIGRATING โš ๏ธ

Post-Quantum Crypto

New quantum-proof standards finalized in 2024 (NIST). Being rolled out now; deadline: 2030โ€“2033.

EXPERIMENTAL ๐Ÿงช

Homomorphic Encryption

Computing on encrypted data. Revolutionary but still 1,000ร— too slow for production.

THEORETICALLY PERFECT ๐ŸŒŒ

One-Time Pad + QKD

Mathematically unbreakable. Only feasible for a few high-value links via fiber optics.

LOSING ๐Ÿ”ป

RSA & old ECC

Still everywhere, but vulnerable to future quantum computers. Being phased out.

๐Ÿ—๏ธThe Big Idea: Symmetric vs Asymmetric

In plain English: Encryption is just scrambling a message with a key. The question is always: how do the two parties safely share the key? That single problem shapes all of modern encryption.
Symmetric (one shared key) Alice ๐Ÿ”’ encrypt Bob ๐Ÿ”“ decrypt ๐Ÿ”’ scrambled message SAME KEY ๐Ÿ”‘ Fast & strong (AES) โ€” but how do you safely give Bob the key in the first place? Asymmetric (public + private key) Alice locks with ๐ŸŸข public key Bob opens with ๐ŸŸฃ private key Two linked keys โ€” open one ๐Ÿ”’ only the other can unlock ๐Ÿ”“ Anyone can ENCRYPT with Bob's public key โ€” but only Bob's private key can DECRYPT.

Modern systems combine both: asymmetric crypto to agree on a key, then symmetric crypto (AES) to do the heavy lifting.

๐ŸงฑAES-256: The Unbreakable Workhorse

In plain English: Your data is chopped into 16-byte blocks and forced through 14 rounds of mixing: scrambling, rotating, multiplying, and key-blending. Each round makes the output look more and more like random noise. Guessing a 256-bit key would take more tries than there are atoms in Earth's worth of computers โ€” for trillions of years.
Your data 16-byte block Round 1 SubBytes ๐Ÿ”€ ShiftRows โ†ช๏ธ MixColumns โœ–๏ธ โ†’ Rounds 2โ€“12 same mixing, over & over โ†’ Round 13 SubBytes ๐Ÿ”€ ShiftRows โ†ช๏ธ MixColumns โœ–๏ธ โ†’ Round 14 SubBytes ๐Ÿ”€ ShiftRows โ†ช๏ธ MixColumns โœ–๏ธ ๐Ÿ”‘ 256-bit secret key expanded into 15 subkeys + AddRoundKey (blend subkey in) each round Ciphertext (looks random) GCM mode adds tamper-detection Same thing in reverse (with subkeys in reverse order) decrypts it. Without the key: effectively impossible.

๐ŸŽฎ Try it: the heart of encryption is XOR

Click the green key bits to toggle them. XOR rule: identical bits โ†’ 0, different bits โ†’ 1. Toggle every key bit to a match and the output becomes all zeros โ€” meaning the ciphertext hides the message completely. (Real AES-256 does billions of rounds of mixing with 256 keys' worth of data!)

Message1011XORKey1101=0110

Tip: flip key bits 1 and 4 until all outputs are 0.

๐ŸคHow Strangers Agree on a Secret Key (Diffieโ€“Hellman)

In plain English: Imagine mixing paint. Both pick a secret color, publicly mix theirs into a common base paint, swap, add their secret color โ€” and both end with the same final color. An eavesdropper sees the base and two mixes but can never separate out the secret colors. That's the magic: a shared secret created in public.
Public base paint ๐ŸŸฅ (anyone can see) + Alice's secret ๐ŸŸง (private) Alice sends mix ๐ŸŸง + Bob's secret ๐ŸŸฆ (private) Bob sends mix ๐ŸŸฆ the mixes travel over the internet (spy sees them ๐Ÿ‘€) Both now hold the SAME shared secret The spy only saw base + mixes ๐ŸŸฅ๐ŸŸง๐ŸŸฆ and can't remix backwards

๐ŸŽฎ Try the paint mix yourself

base + Alice?

Alice's mix (public)

โ‡„
base + Bob?

Bob's mix (public)

Press the buttons. When both sides press "finish", both paints become the same brown โ€” the shared secret!

Real (elliptic-curve) Diffieโ€“Hellman uses the same idea with math instead of paint. The famous version, ECDH/X25519, runs in every TLS connection you make.

๐Ÿ’ฌSignal's Double Ratchet: A Key That Keeps Changing

In plain English: A one-time key isn't enough. If an attacker steals it once, they read everything. So Signal invents a new key for every single message and destroys the old ones. Even if a thief grabs today's keys, they can't read yesterday's messages (forward secrecy) โ€” and after you chat again, new randomness makes the conversation secure even from the thief (post-compromise security): the lock re-heals itself.
๐Ÿ‘ฉ Alice ๐Ÿ‘จ Bob Step 0: X3DH handshake + post-quantum twist (PQXDH) identity keys + prekeys + ML-KEM โžœ first shared root key derived on BOTH phones, never sent ๐Ÿ”’ "Hey Bob!" โ€” key Kโ‚ Kโ‚ destroyed ๐Ÿ—‘๏ธ ๐Ÿ”’ "Hi Alice!" โ€” key Kโ‚‚ Kโ‚‚ destroyed ๐Ÿ—‘๏ธ symmetric ratchet โš™๏ธ DH ratchet ๐Ÿ”„ ๐Ÿ”’ msg 3 โ€” key Kโ‚ƒ = derive(Kโ‚‚) ๐Ÿ”’ msg 5 โ€” key Kโ‚… = new DH exchange (ratchet!) ๐Ÿฅท Thief steals all destroyed keys โ†’ gets NOTHING. Each new message can't be decrypted with the last.

Two ratchets: the symmetric ratchet derives a fresh key per message; the DH ratchet periodically does a fresh key exchange so the chain "heals" after a compromise.

โš›๏ธPost-Quantum: Lattice Locks for a Quantum Future

In plain English: A future quantum computer can easily crack today's public-key locks (RSA, Diffieโ€“Hellman, elliptic curve) because those rely on math problems it's naturally good at. The new locks (ML-KEM, finalized by NIST in 2024) are based on grid problems: finding your way through a gigantic maze of points where only a tiny fraction are "correct" arrangement points. No known computer โ€” classical or quantum โ€” can find that needle quickly.
The "Closest Vector" problem ๐Ÿ”ต dots = valid lattice points (the secret grid) ๐Ÿฉท pink = a point nudged randomly off the grid Task: find the nearest grid dotโ€ฆ Easy in a small grid. Hopeless in 512+ dimensions (real ML-KEM uses hundreds of dimensions!) ๐ŸŒŒ An attacker gets the public key (a mangled grid) + these nudged points โ€” recovering the exact grid is believed impossible, even for quantum computers

Defense in depth: Hybrid mode

Nobody trusts one algorithm forever, so TLS today runs two key exchanges at once โ€” classic elliptic curve (X25519) AND quantum-safe ML-KEM. The connection stays broken only if both fail simultaneously.
X25519 (classic) ๐Ÿ”ต egg: curve math ML-KEM (quantum-safe) ๐ŸŸฃ egg: lattice grid math combined secrets mixed together via KDF AES-256 session key ๐Ÿ”’ encrypts all your traffic Belt ๐Ÿฅ‹ AND suspenders ๐Ÿ•ต๏ธ both must fail

Already live: Chrome, Cloudflare, Signal, Microsoft Windows, and most major infrastructure run hybrid PQ-TLS today.

๐ŸŒŒOne-Time Pad & Quantum Key Distribution: Provably Perfect

In plain English: XOR the message with a truly random key the same length, then throw the key away. With no key reuse, the ciphertext contains zero information about the message โ€” mathematically proven, not just "hard." The catch: you must deliver the key securely. Enter QKD: sending single photons over fiber, where physics itself (you can't peek at a quantum particle without disturbing it) guarantees any eavesdropper is detected.
Message: HELLO Key: *a$9&Q (random, used ONCE, then deleted) XOR each letter โ†’ ciphertext Ciphertext: appears as pure random garbage ๐ŸŽฒ Every possible message was "encrypted" into this same string โ€” so which one is it? Infinity's worth of equally valid keys say: who knows. ๐Ÿคท

QKD links (e.g., NEC's quantum crypto networks) are real but niche: dedicated fiber, short distances, expensive. NIST recommends it only for special high-value cases โ€” software post-quantum crypto is the global answer.

๐ŸงชHomomorphic Encryption: Computing Inside a Safe

In plain English: The strangest kind of encryption โ€” you can do math on ciphertext without ever decrypting it. Hand a cloud server an encrypted spreadsheet; it computes the encrypted totals; you decrypt the answer. The server never saw a single number. Beautiful โ€” but each operation adds "noise" to the ciphertext, so it's still ~1,000ร— slower than normal computing, and early '20s research shows it isn't practical for heavy tasks like AI training yet.
You ๐Ÿง‘โ€๐Ÿ’ป encrypt data ๐Ÿ“ฆ ๐Ÿ”’ encrypted data Cloud server โ˜๏ธ ๐Ÿ” processes ciphertext only โ€” never sees the numbers inside "blindfolded accountant" ๐Ÿ™ˆ ๐Ÿ”’ encrypted ANSWER You decrypt โœ… correct result, zero exposure Alternatives in production: trusted enclaves ("confidential computing") โ€” data encrypted even inside the CPU's memory.

๐Ÿ—“๏ธThe Roadmap: What Happens Next

Aug 2024 NIST finalizes FIPS 203/204/205 Now Hybrid PQ-TLS in browsers, Signal, Windows, AWSโ€ฆ 2030 NSA CNSA 2.0 deadline: government systems migrate 2033 Full PQC deadline for national security systems Someday Cryptographically relevant quantum computer exists โš›๏ธ โฐ "Harvest now, decrypt later": spies archive today's encrypted traffic to crack after a quantum computer arrives โ€” this is why migration started years early.
If you wantโ€ฆUse today
Private chatsSignal or WhatsApp (Double Ratchet E2EE + post-quantum)
Encrypted files/drivesAES-256 (VeraCrypt, BitLocker, LUKS, age)
Private web browsingModern browser โ€” already negotiates hybrid post-quantum TLS where supported
Passwords & backups1Password/Bitwarden (AES-256 + zero-knowledge design)