Applied PQC GitHub Home Playground Blog @AppliedPQC

Polynomial Rings

Every code listing from this chapter of Applied Post-Quantum Cryptography — 3 in total, 3 runnable here. Edit any cell and press Run.

The book's snippets build on each other down the chapter, but a Sage Cell kernel runs one cell and keeps no state afterwards, so each cell replays the earlier listings with apqc_book. That call is the only thing added to the book's own code.

← the playground

Listing 1 — Sage experiment: the polynomial ring

Listing 2 — Sage experiment: building a quotient ring

Listing 3 — Experiments