Efficiently solving the Shortest Vector Problem (SVP) in two-dimensional lattices holds practical significance in cryptography and computational geometry. While simpler than its high-dimensional counterpart, two-dimensional SVP motivates scalable solutions for high-dimensional lattices and benefits applications like sequence cipher cryptanalysis involving large integers. In this work, we first propose a novel definition of reduced bases and develop an efficient adaptive lattice reduction algorithm that strategically applies the Euclidean algorithm across dimensions. Building on this framework, we introduce , a vectorized generalization of the Half-GCD algorithm originally defined for integers, which can efficiently halve the bit-length of two vectors and may have independent interest. By iteratively invoking , our optimized algorithm achieves a reduced basis in time for arbitrary input bases with bit-length , where denotes the cost of multiplying two -bit integers. Compared to existing algorithms, our design is applicable to general forms of input lattices, eliminating the cost of pre-converting input bases to Hermite Normal Form (HNF). The comprehensive experimental results demonstrate that for the input lattice bases in HNF, the optimized algorithm achieves at least a efficiency improvement compared to existing methods. For general-form input lattice bases, converting them to HNF before applying offers only marginal advantages in extreme cases where the two basis vectors are nearly degenerate. However, as the linear dependency between input basis vectors decreases, directly employing yields increasingly significant efficiency gains, outperforming hybrid approaches that rely on prior conversion.

生成讲解博客的中文版本

生成AI智能校验的中文版本