Eight chapters, from first principles to live protocols
Chapter 01FundamentalsWhat cryptography is for and the core vocabularyOpen →
Chapter 02Building blocksKeys, cryptovariables, XOR, block and stream ciphersOpen →
Chapter 03Classical ciphersScytale, Caesar, pigpen, rail fence, VigenèreOpen →
Chapter 04Enigma & machinesRotor machines and a working Enigma simulatorOpen →
Chapter 05Modern cryptosystemsAES, RSA, Diffie-Hellman, ECC, hashing, post-quantumOpen →
Chapter 06PKI & certificatesCAs, X.509, chains of trust, revocationOpen →
Chapter 07Crypto in the wildWEP to WPA3, TLS 1.2/1.3 and QUIC handshakesOpen →
Chapter 08Glossary & quizKey terms and a final knowledge checkOpen →
Every cryptosystem does the same thing
Readable plaintext goes through a public algorithm controlled by a secret key, and comes out as ciphertext that's useless to anyone without the key.
PlaintextATTACK AT DAWN
→
Encryptalgorithm + key
→
Ciphertext9f3a c1d0 …travels over an insecure channel
→
Decryptalgorithm + key
→
PlaintextATTACK AT DAWN
Pick your own path
The chapters build on each other, but each one stands on its own. If you're revising for Security+, SSCP or CISSP, Chapters 02, 05 and 06 cover most of the exam material. If you want to know what happens when your phone joins Wi-Fi or opens a web page, start with Chapter 07.
About the labs. Everything runs in your browser. The modern-crypto labs use the browser's built-in Web Crypto API, the same code your browser uses for HTTPS. The classical and teaching labs use deliberately tiny numbers so you can follow every step. Never use the toy versions to protect real data.