The complete hierarchy of cryptographic primitives and the structured path to mastering cryptology: cryptography, cryptanalysis, and security protocols.
Cryptology is the overarching science of secure communication, comprising two main disciplines: cryptography (designing secure systems) and cryptanalysis (breaking secure systems). This roadmap follows the hierarchy of security primitives to build comprehensive expertise.
Cryptography: "How to protect information" → Confidentiality, Integrity, Authentication
Cryptanalysis: "How to break protection" → Mathematical analysis, Side-channel attacks, Implementation flaws
The complete tree of cryptographic primitives and their relationships:
The practice and study of techniques for secure communication.
Cryptographic functions that don't require a secret key.
Algorithms using the same key for encryption and decryption.
Asymmetric algorithms using key pairs (public/private).
The study of analyzing and breaking cryptographic systems.
Structured learning path through the cryptology hierarchy:
Master the mathematical concepts underlying all cryptographic primitives.
| Topic | Key Concepts | Resources |
|---|---|---|
| Number Theory | Modular arithmetic, primes, gcd, Euler's theorem | Khan Academy, "Elementary Number Theory" |
| Abstract Algebra | Groups, rings, fields, finite fields GF(p) | MIT OCW 18.701 |
| Probability & Stats | Random variables, entropy, distributions | Coursera: Statistics |
| Information Theory | Shannon entropy, perfect secrecy | "Elements of Information Theory" |
Master block ciphers, stream ciphers, and hash functions.
Implement AES-128 from scratch (educational purposes only). Then use a production library like cryptography.io to implement secure file encryption with AES-256-GCM and Argon2 key derivation.
Understand RSA, Elliptic Curve Cryptography, and key exchange protocols.
| Algorithm Family | Mathematical Problem | Security Level | Common Uses |
|---|---|---|---|
| RSA | Integer Factorization (IFP) | 2048-bit = 112-bit security | TLS, PGP, SSH |
| Diffie-Hellman | Discrete Logarithm (DLP) | 2048-bit = 112-bit security | Key exchange |
| Elliptic Curve | EC Discrete Logarithm (ECDLP) | 256-bit = 128-bit security | Bitcoin, TLS 1.3 |
| Post-Quantum | Lattice, Code-based problems | Varies (ongoing NIST comp) | Future-proofing |
Learn to break cryptographic systems through mathematical and side-channel attacks.
1. picoCTF: Basic crypto challenges
2. CryptoHack: Progressive crypto learning
3. OverTheWire Krypton: Classical cipher breaking
4. HackTheBox: Real-world crypto implementations
5. DEFCON Quals: Advanced cryptanalysis
Apply cryptographic primitives in security protocols and systems.
| Protocol | Cryptographic Components | Security Properties |
|---|---|---|
| TLS 1.3 | ECDHE, AES-GCM, ChaCha20-Poly1305, RSA signatures | Forward secrecy, authenticated encryption |
| SSH | Diffie-Hellman, HMAC-SHA2, AES-CTR | Secure remote access, MITM protection |
| PGP/GPG | RSA, ECC, AES, SHA-2 | Email encryption, digital signatures |
| Blockchain | ECDSA, SHA-256, Merkle trees | Transaction integrity, consensus |
| Signal Protocol | X3DH, Double Ratchet, AES-256 | Forward secrecy, post-compromise security |
Cutting-edge areas in cryptology for advanced study:
Beginner: Solve all CryptoHack introductory challenges
Intermediate: Complete Cryptopals sets 1-6
Advanced: Solve DEFCON crypto challenges
Expert: Contribute to cryptographic research or find novel vulnerabilities