Supporting code for Section 4 of the paper Improved Provable Reduction of NTRU and Hypercubic Lattices, by Henry Bambury and Phong Q. Nguyen.
Run using python simulator.sage
or sage simulator.sage
.
WARNING: Do not use for cryptographic parameter selection.