First encounter with lattice geometry

Prerequisites: vectors and basic Euclidean distance.

  1. Generate points from a basis
  2. Find shortest and closest points
  3. Draw nearest-point regions
  4. Use volumes to force a lattice point

Practice. Draw the fundamental cell and Voronoi cell of the shared example. Explain why both have area 6.

University lattice algorithms

Prerequisites: linear algebra, integer arithmetic, and basic complexity.

  1. Compute Gram–Schmidt and QR
  2. Prove correctness of rank-two Gauss reduction
  3. Trace a three-dimensional LLL run
  4. Compare LLL, BKZ, enumeration, and sieving
  5. Compare closest-point algorithms on a skew basis

Practice. Give a counterexample to coordinate rounding. Report its closest distance and prove the result by bounding the search.

Graduate lattice cryptography reading group

Prerequisites: modular linear algebra, probability, and computational reductions.

  1. Read primal and dual lattices
  2. Build a modular kernel
  3. Compare SIS and LWE distributions
  4. State the promises in GapSVP and BDD
  5. Follow the plain LWE reduction and ring arithmetic
  6. Choose a primary paper and identify its hypotheses

Practice. Compare the assumptions, reduction directions, and computation models in the plain LWE and Ring-LWE sources.

Hands-on path from equations to cryptography

  1. Run the LWE playground. At the default seed, set noise to 0. The elimination result and the revealed secret should both be (71, 31).
  2. Run the one-bit example. Check that the original errors give residual 9 and that increasing the selected error sum to 5 flips the decoded bit.
  3. Trace the ML-KEM data flow. Check that 1650 compresses to 8, shares byte 0x38 with the next coefficient, and expands to 1665.
  4. Choose signatures and calculate why both secrets have acceptance rate 7/9, or choose FHE and decrypt the dot product to check that it is within 0.0001 of 3.

Instructor pack

One lattice, three lessons is a 45-minute session with three diagrams, five problems, and an answer key. It uses one rectangular lattice to connect basis changes, Voronoi cells, and lattice problems.

Download the instructor pack (ZIP)

You may copy, adapt, and distribute the original diagrams and handout for teaching. Credit “Lattices.io, One lattice, three lessons” and link to this page.