The series: 1 OS → 2 Networking → 3 Security → 4 HTTPS walkthrough, with Go alongside.
You are here: step 3a, Security: foundations. ← Previous: Networking from Zero (TCP/IP). Next: Security Engineering in Depth →
🔒
Series · step 3a
Security from Zero — A Practical Guide for Engineers
From "what is Base64?" to running your own certificate authority, migrating to post-quantum cryptography, and breaking (then fixing) a real application. You do not need any security background to start.
Contents
69 chapters, one page each. Prefer one long page? Read the whole book on one page.
- What you will be able to do at the end1 min
- Contents2 min
- Part 0 — Start here
- 0.1 Who this guide is for1 min
- 0.2 The learning flow1 min
- 0.3 The roadmap1 min
- 0.4 Build your lab (30 minutes)1 min
- 0.5 The little bit of maths you need2 min
- 0.6 Ethics and the law — read this before Part 21 min
- 0.7 How not to get stuck1 min
- 0.8 The series: OS → networking → security → HTTPS2 min
- Part 1 — Foundations
- Chapter 1 — What "security" actually means3 min
- Chapter 2 — Thinking like an attacker4 min
- Chapter 3 — The vocabulary that trips everyone up3 min
- Chapter 4 — Our running example: SecureShop2 min
- Part 2 — Encoding: the thing that is not security
- Chapter 5 — How text becomes bytes2 min
- Chapter 6 — Base64, hex, and URL encoding: none of them protect anything4 min
- Chapter 7 — Unicode, normalisation, and the bugs they cause4 min
- Part 3 — Hashing: fingerprints for data
- Chapter 8 — What a hash function is4 min
- Chapter 9 — The real hash functions, and which are broken4 min
- Chapter 10 — Password storage is a completely different problem6 min
- Chapter 11 — HMAC: proving a message wasn't tampered with4 min
- Part 4 — Symmetric encryption
- Chapter 12 — The idea, and what "perfect secrecy" costs4 min
- Chapter 13 — Block ciphers and AES3 min
- Chapter 14 — Modes of operation (and why ECB is a meme)5 min
- Chapter 15 — AEAD: encryption and authentication together5 min
- Chapter 16 — Hands-on: symmetric encryption with OpenSSL3 min
- Part 5 — Asymmetric cryptography
- Chapter 17 — The key-distribution problem and the big idea4 min
- Chapter 18 — Diffie–Hellman key exchange5 min
- Chapter 19 — RSA7 min
- Chapter 20 — Elliptic curve cryptography7 min
- Chapter 21 — Digital signatures6 min
- Chapter 22 — Hands-on: keys, signatures, and key exchange with OpenSSL5 min
- Part 6 — Post-quantum cryptography
- Chapter 23 — Why quantum computers break today's public-key crypto5 min
- Chapter 24 — The post-quantum algorithms5 min
- Chapter 25 — Hybrid mode, crypto-agility, and how to migrate5 min
- Chapter 26 — Hands-on: post-quantum with OpenSSL and liboqs5 min
- Part 7 — TLS and HTTPS
- Chapter 27 — What HTTPS actually guarantees (and what it doesn't)4 min
- Chapter 28 — The TLS 1.3 handshake, step by step5 min
- Chapter 29 — Certificates and how validation works6 min
- Chapter 30 — PKI: certificate authorities, transparency, revocation, ACME6 min
- Chapter 31 — TLS in production6 min
- Chapter 32 — Hands-on: inspecting and testing TLS5 min
- Part 8 — SSH
- Chapter 33 — What SSH is, and the connection protocol4 min
- Chapter 34 — Keys, agents, and host verification5 min
- Chapter 35 — SSH certificates, hardening, and bastions5 min
- Chapter 36 — Hands-on: SSH keys, tunnels, config, and signing5 min
- Part 9 — Network security
- Chapter 37 — The network attacker: sniffing, spoofing, MITM6 min
- Chapter 38 — DNS security6 min
- Chapter 39 — Firewalls, segmentation, zero trust, and VPNs7 min
- Chapter 40 — Hands-on: seeing the network5 min
- Part 10 — Web and HTTP security
- Chapter 41 — How the web decides what to trust4 min
- Chapter 42 — Injection: when data becomes code4 min
- Chapter 43 — Cross-site scripting (XSS)4 min
- Chapter 44 — Request forgery: CSRF, SSRF, clickjacking4 min
- Chapter 45 — Broken access control4 min
- Chapter 46 — Authentication, sessions, and federated identity6 min
- Chapter 47 — Supply chain and the code you didn't write5 min
- Chapter 48 — Hands-on: testing a web application4 min
- Part 11 — Operating securely
- Chapter 49 — Secrets management5 min
- Chapter 50 — Logging, detection, and monitoring5 min
- Chapter 51 — Incident response5 min
- Chapter 52 — Threat modeling and secure design7 min
- Part 12 — Projects
- Chapter 53 — Project 1: your own CA, plus mutual TLS3 min
- Chapter 54 — Project 2: harden a server end to end3 min
- Chapter 55 — Project 3: break and fix a vulnerable application3 min
- Chapter 56 — Project 4: a post-quantum readiness audit4 min
- Part 13 — Where to go next
- Chapter 57 — Honest gaps, and a six-month plan3 min
- Chapter 58 — Specialisations, certifications, and staying current4 min
- Continue the series1 min
- Appendix A — Glossary (plain language)
- Appendix B — The OpenSSL cookbook
- Appendix C — Command cheat sheet
- Appendix D — What to use in 2026 (algorithm reference)
- Appendix E — Reading list, and how the facts here were checked
- Appendix F — Answers to "Check yourself"
Generated from real-life-guide.md · 8 Oct 2026 16:36