Cryptography
Modern Symmetric
AES and friends.
- •160 XPAES BasicsBlock cipher, 128-bit blocks, and why ECB leaks.
- •180 XPBlock Cipher ModesECB vs CBC vs CTR vs GCM — and why IVs matter.
- •170 XPPaddingPKCS#7, why a whole extra block, and the padding oracle.
- •190 XPAuthenticated EncryptionAEAD, tags, AAD, and picking GCM vs ChaCha20-Poly1305.
- •200 XPKey DerivationPBKDF2 → scrypt → Argon2: making passwords expensive.
- •200 XPStream CiphersChaCha20, RC4, and the keystream-XOR mental model.
- •220 XPNonce ManagementGCM nonce-reuse, deterministic vs random, the birthday bound, XChaCha20 fix.
- •200 XPDisk Encryption (XTS)Why FileVault, BitLocker, and LUKS use a different mode than TLS.
- •200 XPTLS 1.3 Symmetric LayerAES-GCM vs ChaCha20-Poly1305 — when each wins.