On (n,k)-Simple Random Integer Lattices
Abstract
1. Introduction
- The concept of an -simple random integer lattice is introduced and its asymptotic counting formula is established.
- The density of such lattices among all integer lattices is derived, expressed in terms of the Riemann zeta function.
- An efficient generation algorithm combining rejection sampling and continuous inverse sampling is proposed, with a rigorous analysis of its time complexity.
2. Preliminaries
Lattice and HNF
- Upper triangular: for all indices with ;
- Positive diagonal: for each i;
- Modular reduction: For any off-diagonal entry above the diagonal, it requires that for all .
- H is an HNF;
- The first k diagonal entries of H, or are 1.
3. The (n,k)-Simple Random Integer Lattice
4. The Density of (n,k)-Simple Integer Lattice
5. The Generation Algorithm of (n,k)-Simple Random Integer Lattice
5.1. Rejection Sampling and Inverse Sampling
5.2. Generating the (n,k)-Simple Random Integer Lattice
5.2.1. Generating the Diagonal Entries
- Choose and compute ;
- Set , compute and ;
- Choose ; when , reject and repeat from step 1; otherwise, accept and set .
5.2.2. Generating the Last Diagonal Entry
- Choose ;
- Compute x s.t. , and set .
5.3. Detailed Algorithm Description
| Algorithm 1 Construction of an -simple random integer lattice |
| Require: lattice rank n, lattice determinant bound M, and |
| Ensure: An -simple random integer lattice with |
| Phase 1: Diagonal entries |
| for to do |
| repeat |
| Sample and set |
| Compute acceptance probability with |
| Draw |
| until |
| end for |
| Phase 2: Final diagonal |
| Sample |
| Phase 3: Off-diagonal entries |
| for to n do |
| for to do |
| end for |
| for to n do |
| end for |
| end for |
| Phase 4: Output |
| Construct , return |
5.4. Running Time Analysis of Algorithm 1
6. Conclusions
Funding
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Hoffstein, J.; Pipher, J.; Silverman, J.H. NTRU: A ring-based public key cryptosystem. In Proceedings of the International Algorithmic Number Theory Symposium; Springer: Berlin/Heidelberg, Germany, 1998; pp. 267–288. [Google Scholar]
- Regev, O. On lattices, learning with errors, random linear codes, and cryptography. J. ACM 2009, 56, 1–40. [Google Scholar] [CrossRef]
- Peikert, C. A decade of lattice cryptography. Found. Trends Theor. Comput. Sci. 2016, 10, 283–424. [Google Scholar] [CrossRef]
- Lyubashevsky, V.; Peikert, C.; Regev, O. On ideal lattices and learning with errors over rings. In Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques; Springer: Berlin/Heidelberg, Germany, 2010; pp. 1–23. [Google Scholar]
- Joux, A. Algorithmic Cryptanalysis; Chapman and Hall/CRC: Boca Raton, FL, USA, 2009. [Google Scholar]
- Kannan, R.; Bachem, A. Polynomial algorithms for computing the Smith and Hermite normal forms of an integer matrix. SIAM J. Comput. 1979, 8, 499–507. [Google Scholar] [CrossRef]
- Micciancio, D.; Warinschi, B. A linear space algorithm for computing the Hermite normal form. In Proceedings of the 2001 International Symposium on Symbolic and Algebraic Computation, London, ON, Canada, 18–21 July 2001; pp. 231–236. [Google Scholar]
- Odlyzko, A.M. Asymptotic enumeration methods. Handb. Comb. 1995, 2, 1229. [Google Scholar]
- Goldstein, D.; Mayer, A. On the equidistribution of Hecke points. Forum Math. 2003, 15, 165. [Google Scholar] [CrossRef]
- Maze, G. Natural density distribution of Hermite normal forms of integer matrices. J. Number Theory 2011, 131, 2398–2408. [Google Scholar] [CrossRef][Green Version]
- Hu, G.; Pan, Y.; Liu, R.; Chen, Y. On random nonsingular Hermite Normal Form. J. Number Theory 2016, 164, 66–86. [Google Scholar] [CrossRef]
- Hu, G.; You, L.; Li, L.; Hu, L.; Wang, H. Random Integer Lattice Generation via the Hermite Normal Form. Entropy 2021, 23, 1509. [Google Scholar] [CrossRef] [PubMed]
- Micciancio, D.; Peikert, C. Trapdoors for lattices: Simpler, tighter, faster, smaller. In Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques; Springer: Berlin/Heidelberg, Germany, 2012; pp. 700–718. [Google Scholar]
- Lyubashevsky, V.; Peikert, C.; Regev, O. A toolkit for ring-LWE cryptography. In Proceedings of the Annual International Conference on the Theory and Applications of Cryptographic Techniques; Springer: Berlin/Heidelberg, Germany, 2013; pp. 35–54. [Google Scholar]
- Bonte, C.; Iliashenko, I.; Park, J.; Pereira, H.V.; Smart, N.P. FINAL: Faster FHE instantiated with NTRU and LWE. In Proceedings of the International Conference on the Theory and Application of Cryptology and Information Security; Springer: Berlin/Heidelberg, Germany, 2022; pp. 188–215. [Google Scholar]
- Cini, V.; Lai, R.W.; Woo, I.K. Lattice-based obfuscation from NTRU and Equivocal LWE. In Proceedings of the Annual International Cryptology Conference; Springer: Berlin/Heidelberg, Germany, 2025; pp. 39–72. [Google Scholar]
- Lenstra, A.; Lenstra, H., Jr.; Lovász, L. Factoring Polynomials with Rational Coefficients. Math. Ann. 1982, 261, 515–534. [Google Scholar] [CrossRef]
- Schnorr, C.P.; Euchner, M. Lattice basis reduction: Improved practical algorithms and solving subset sum problems. Math. Program. 1994, 66, 181–199. [Google Scholar] [CrossRef]
- Chen, Y.; Nguyen, P.Q. BKZ 2.0: Better lattice security estimates. In Proceedings of the International Conference on the Theory and Application of Cryptology and Information Security; Springer: Berlin/Heidelberg, Germany, 2011; pp. 1–20. [Google Scholar]
- Cohen, H. A Course in Computational Algebraic Number Theory; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
- Forsythe, G.E. Von Neumann’s comparison method for random sampling from the normal and other distributions. Math. Comput. 1972, 26, 817–826. [Google Scholar] [CrossRef][Green Version]
- Devroye, L. Nonuniform random variate generation. Handb. Oper. Res. Manag. Sci. 2006, 13, 83–121. [Google Scholar]
| n | |||||
|---|---|---|---|---|---|
| 8 | 0.99609 | 0.99216 | 0.96145 | 0.76258 | 0.43574 |
| 16 | 0.99998 | 0.99976 | 0.99798 | 0.96074 | 0.43576 |
| 32 | 1.00000 | 0.99999 | 0.99999 | 0.99798 | 0.43576 |
| 64 | 1.00000 | 1.00000 | 1.00000 | 0.99998 | 0.43576 |
| 128 | 1.00000 | 1.00000 | 1.00000 | 1.00000 | 0.43576 |
| 256 | 1.00000 | 1.00000 | 1.00000 | 1.00000 | 0.43576 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Hu, G. On (n,k)-Simple Random Integer Lattices. Entropy 2026, 28, 600. https://doi.org/10.3390/e28060600
Hu G. On (n,k)-Simple Random Integer Lattices. Entropy. 2026; 28(6):600. https://doi.org/10.3390/e28060600
Chicago/Turabian StyleHu, Gengran. 2026. "On (n,k)-Simple Random Integer Lattices" Entropy 28, no. 6: 600. https://doi.org/10.3390/e28060600
APA StyleHu, G. (2026). On (n,k)-Simple Random Integer Lattices. Entropy, 28(6), 600. https://doi.org/10.3390/e28060600

