Skip to content
The Book of PQC mark: an open book rendered in gold, with an atomic orbital circling a keyhole lock at its spine.
THE ENCRYPTORIUM Book of PQC

The Encryptorium Book of Post-Quantum Cryptography

Implement, migrate, and reason about post-quantum cryptography from the ground up.

41 chapters7 parts4 appendices281 verified code blocks342 cited sources

By the end of this book, you will have implemented one member of each of four post-quantum families from scratch: lattice-based, hash-based, code-based, and isogeny-based. The lattice Part builds two, ML-KEM and ML-DSA. Those two and SLH-DSA are checked against the official NIST vectors. The code-based and isogeny-based builds are pedagogical toys, and each chapter states how its code differs from the scheme it models. Multivariate signatures get a chapter and a worked toy UOV, not a from-scratch implementation. You will know why each scheme exists, what its assumptions are, which attacks it resists, and how to plan the migration of a real system to post-quantum cryptography. You will be prepared to analyze which layers of a zero-knowledge system must change to retain post-quantum security.

For more on who this is for and the assumed background, see About this book and Prerequisites.

The book consists of seven Parts and four appendices. Each Part progresses from intuition to construction to attacks to tradeoffs.

All 41 chapters are published.

Part I: Foundations

Part II: Lattice-based cryptography

Part III: Hash-based signatures

Part IV: Code-based and isogeny-based cryptography

Part V: Migration and deployment

Part VI: Post-quantum zero-knowledge

Part VII: Post-quantum blockchain

Appendices

Written by Andreas Renz for Encryptorium. Grounded in published blog posts, the Post-Quantum Readiness Assessment framework, and the self-published technical report Post-Quantum Risk in Deployed Zero-Knowledge Architectures: A Layered Analysis (2026, not peer reviewed).