Dual lattice
Derive the inverse-transpose basis and check the integer inner-product definition in two dimensions.
Start with vectors and basesWorked examples in lattice geometry and cryptography.
These guides build on the introductory chapters. Each takes one idea and works through a concrete example, with links to the underlying mathematics or cryptographic application. Read them in order, or open the concept you need now.
Derive the inverse-transpose basis and check the integer inner-product definition in two dimensions.
Start with vectors and basesSolve a modular equation by hand and see how its solutions form the lattices behind SIS and LWE.
Start with notable latticesCalculate the probability of integer samples and understand how sampling appears in cryptographic proofs.
Start with lattice metricsTurn a few leaked nonce bits into a hidden number problem and recover the private key with lattice reduction.
Start with the LLL algorithmWhen a symmetric convex set is guaranteed to contain a nonzero lattice point: the exact statement, the proof and a worked example.
Start with geometry of numbersSuccessive minima and the two-sided bound on their product, checked on a two-dimensional example.
Start with Minkowski's convex body theoremHow one polynomial replaces a whole LWE matrix, with a small worked example, and why ML-KEM and ML-DSA use module lattices.
Start with LWEBanaszczyk’s bounds 1 ≤ λ₁(Λ)·λₙ(Λ*) ≤ n and μ(Λ)·λ₁(Λ*) ≤ n/2, with proofs of the easy halves and checks on ℤⁿ, E8 and Leech.
Start with the dual latticeHow a bounded distance decoding oracle decides GapSVP, the proof, and the time–approximation tradeoff from arXiv 2211.11693.
Start with CVP and BDDCompare shortest vectors, closest points, bounded distance decoding and independent short vectors on one grid.
Start with vectors and basesDraw regions of nearest points and calculate the packing and covering radii of a rectangular lattice.
Start with lattice metricsCalculate the density of the optimal 24-dimensional sphere packing and see why each sphere touches 196,560 neighbors.
Start with notable latticesReduce a planar basis by hand and prove that its first reduced vector is shortest.
Start with vectors and basesWork out an orthogonal projection, then read the covolume from a triangular matrix.
Start with vectors and basesUse integer matrix operations to compare embedded lattices and compute quotients.
Start with unimodular basis changesLift a small parity code to an integer lattice and compute its index.
Read the prerequisiteCompare equal-covolume lattices with different shortest vectors.
Read the prerequisiteEncrypt and decrypt a bit with modular arithmetic, then change the noise until decoding fails.
Learning With ErrorsCheck the proof, problem, approximation factor, and resource requirements before drawing conclusions about deployed cryptography.
Post-Quantum SecurityLift a noisy modular equation to the integer plane and find the point it perturbs.
q-ary latticesFollow a ciphertext coefficient from compression to bit recovery using the FIPS 203 arithmetic.
Kyber / ML-KEMCompare the shape of two signing transcripts and count how a response bound removes a visible dependency on a toy secret.
Dilithium / ML-DSACompare stored public-key data and seed-expanded matrices in FrodoKEM and ML-KEM.
Ring-LWE and Module-LWERead the key shares and authentication messages in an X25519MLKEM768 handshake in wire order.
Hybrid TLSCompare signature and public-key bytes in a hypothetical Bitcoin spend and identify the engineering questions that byte counts leave open.
Lattice signaturesTurn a radius into integer coordinate bounds and verify each branch of a two-dimensional search.
Gram–Schmidt and QRRun a packed encrypted dot product in TenSEAL and measure numerical error, ciphertext size, and evaluation time.
Fully Homomorphic Encryption