How Lattice Encryption Works, a Worked Example With Real Numbers

A step-by-step walkthrough of lattice encryption using numbers small enough to check on paper. We build a key, encrypt a single bit, decrypt it, push the noise until the bit flips, and then break the scheme two different ways. Every value comes from code that was actually run.