Algorithm reference¶
One page for every algorithm family: its sizes, standards, status and closed "Going deeper" boxes. The book teaches them in order; these pages are where you look things up. For everything on one screen, see the full table.
Key exchange¶
- Diffie-Hellman Key Exchange
- ECDH (elliptic-curve Diffie-Hellman)
- ML-KEM (Kyber)
- NTRU Prime (sntrup761)
- Code-Based KEMs (HQC, Classic McEliece)
- PAKE (Password-Authenticated Key Exchange)
Signatures¶
- RSA (Rivest–Shamir–Adleman)
- DSA (Digital Signature Algorithm)
- ECDSA (Elliptic Curve Digital Signature Algorithm)
- Schnorr signatures
- EdDSA (Ed25519 and Ed448)
- ML-DSA (Dilithium)
- FN-DSA (Falcon)
- SLH-DSA (SPHINCS+)
- Stateful hash-based signatures (LMS, XMSS)
- Blind signatures
Public-key encryption¶
- ElGamal encryption
- ECIES (Elliptic Curve Integrated Encryption Scheme)
- HPKE (Hybrid Public Key Encryption)
Symmetric ciphers¶
Modes and AEAD¶
MACs¶
- HMAC (Hash-based Message Authentication Code)
- Block-cipher MACs
- Universal hash MACs
- KMAC (KECCAK Message Authentication Code)
- SipHash
Hash functions¶
KDF and password hashing¶
- HKDF (HMAC-based Key Derivation)
- NIST KDFs (KBKDF, one-step and X9.63)
- Argon2
- scrypt
- bcrypt
- PBKDF2
- Retired password hashes
Random numbers¶
Math foundations¶
- Sieve of Eratosthenes
- Miller-Rabin Primality Test
- Baillie-PSW Primality Test
- Pocklington Primality Test
- Mersenne Primes
- Fermat Primes
- Hard Problems
- Elliptic Curves