The mathematical foundation underneath most of the rest of cybersecurity/ — the CIA triad, TLS, and password storage are all specific applications of the ideas in this folder, not separate topics.

Reading order

  1. what-is-cryptography — [Beginner] — the four goals (confidentiality, integrity, authentication, non-repudiation), symmetric vs asymmetric, Kerckhoffs’s principle, and why encoding/encryption/hashing aren’t the same thing
  2. symmetric-encryption — [Intermediate] — AES, block vs stream ciphers, modes of operation (why ECB is broken, GCM is the modern default), the key-exchange problem it can’t solve
  3. hashing-and-integrity — [Intermediate] — one-way functions, SHA-256 vs the broken MD5/SHA-1, HMAC, and why password hashing is a deliberately different algorithm family
  4. asymmetric-encryption — [Advanced] — RSA, Diffie-Hellman, ECC, and hybrid encryption (how TLS actually uses both branches together)
  5. digital-signatures-and-pki — [Advanced] — signing/verification, Certificate Authorities, the chain of trust, revocation
  6. cryptographic-attacks-and-best-practices — [Advanced] — brute force, padding oracles, side channels, weak randomness, and why key management matters more than algorithm choice in practice
↑ Back to Cybersecurity