Optimization of Quadratic Sieve Algorithm Implementation for Large Integer Factorization
Abstract
The quadratic sieve method is a core tool in number theory. In this paper, we present two optimization methods for the Quadratic Sieve algorithm. In the sieving process, the original polynomial root value accumulation step is changed from the original di to the mdi (m is a small integer), which can change the complexity from O(n) to O(n/m). Another optimization method is that for all parameter lookup steps, the original traversal lookup can be changed to an efficient binary search, which can change the complexity of the loop from O(n) to O(logn). This enhancement reduces the computational complexity of RSA modulus factorization in practical settings.
Create a lesson
Metadata
- Journal
- Zihan Guan, Xiaodong Zhuang, Nikos E. Mastorakis, Optimization of Quadratic Sieve Algorithm Implementation for Large Integer Factorization , WSEAS TRANSACTIONS on COMPUTERS, Volume 24, 2025, 86-91
- Comments
- 6 pages
Related papers
Large values of quadratic Dirichlet L-functions at bounded height
Shared title terminologymath.NTZikang Dong, Weijia Wang, Hao Zhang et al.
Clusters of Farey fractions with polynomial denominators and the large sieve
Shared title terminologymath.NTStephan Baier, Chandler C. Corrigan, Sean B. Lynch et al.
The optimal scale in Linnik's microsquare problem for almost all integers
Shared title terminologymath.NTYu-Chen Sun, Lilu Zhao
A New Sparse Algorithm for Polynomial GCD over Integers
Shared title terminologymath.NTQiao-Long Huang, Michael Monagan
13 unknowns over quadratic integer rings and Lucas congruences
Shared title terminologymath.NTGeng-Rui Zhang
Improved sieve for the finite range of the 1+2 Goldbach problem
Shared title terminologymath.NTNero Ziyu Li, Zihao Shen