Cryptography explained

How secrets stay secret on a public network: locks anyone can close, keys two strangers agree on in the open, and fingerprints no one can forge.

21 conceptsBeginner to Advanced

Every cryptography concept

CryptographyBeginner

RSA encryption

Public keys, private keys, and why factoring big numbers is hard.
OPEN LESSON
CryptographyBeginner

Diffie–Hellman key exchange

Two strangers agree on a shared secret over a public line.
OPEN LESSON
CryptographyIntermediate

SHA-256 hashing

How any message becomes a fixed 256-bit fingerprint.
OPEN LESSON
CryptographyAdvanced

Elliptic curve cryptography

Adding points on a curve, and why it only runs one way.
OPEN LESSON
CryptographyIntermediate

Rainbow tables

Trading memory for time to reverse password hashes, and why a salt ruins the trade.
OPEN LESSON
CryptographyBeginner

JSON Web Tokens (JWT)

Three base64url parts, one signature, and a payload anyone can read.
OPEN LESSON
CryptographyBeginner

Symmetric encryption

One shared key locks and unlocks a message; the hard part is sharing the key.
OPEN LESSON
CryptographyBeginner

MD5 and why it is broken

A 128-bit fingerprint, and how two different inputs came to share one.
OPEN LESSON
CryptographyIntermediate

Digital certificates and certificate authorities

How a signed file and a chain of authorities tie a public key to a name.
OPEN LESSON
CryptographyBeginner

Enigma machine

One keypress through rotors, reflector and plugboard, and the flaw that broke it.
OPEN LESSON
CryptographyIntermediate

Stream ciphers

A short key becomes a long keystream, XORed with the message byte by byte.
OPEN LESSON
CryptographyIntermediate

Zero-knowledge proofs

Proving you know a secret without revealing it, one random challenge at a time.
OPEN LESSON
CryptographyIntermediate

Post-quantum cryptography

What quantum computers would break, what survives, and the lattice puzzles replacing RSA.
OPEN LESSON
CryptographyIntermediate

Key derivation functions (PBKDF2)

How a salt and 600,000 hash rounds turn a weak password into a strong key.
OPEN LESSON
CryptographyIntermediate

OAuth 2.0

How an app gets limited access to your data without ever seeing your password.
OPEN LESSON
CryptographyIntermediate

OpenID Connect

How “Sign in with…” works: OAuth 2.0 plus a signed ID token that says who you are.
OPEN LESSON
CryptographyBeginner

Passkeys and WebAuthn

A key pair per site signs a fresh challenge, so there is no password to steal.
OPEN LESSON
CryptographyBeginner

SQL injection

How typed text becomes database code, and how parameterized queries stop it.
OPEN LESSON
CryptographyBeginner

Firewalls

Rules, default deny and connection tracking decide which packets may pass.
OPEN LESSON
CryptographyBeginner

Zero-trust security

From one wall around the network to a check on every single request.
OPEN LESSON
CryptographyBeginner

Steganography

Hiding a message in the last bits of a picture, and how it gets found.
OPEN LESSON