[Paper Review] Some integer factorization algorithms using elliptic curves
This paper proposes a two-phase elliptic curve factorization algorithm that significantly speeds up Lenstra's original method by leveraging the birthday paradox to reduce the expected runtime by a factor of approximately log(p). The second phase efficiently searches for a factor p by testing multiple group orders simultaneously, yielding a practical speedup of 4–6.6 times for factors around 10^20, with additional optimizations further improving performance.
Lenstra's integer factorization algorithm is asymptotically one of the fastest known algorithms, and is ideally suited for parallel computation. We suggest a way in which the algorithm can be speeded up by the addition of a second phase. Under some plausible assumptions, the speedup is of order log(p), where p is the factor which is found. In practice the speedup is significant. We mention some refinements which give greater speedup, an alternative way of implementing a second phase, and the connection with Pollard's "p-1" factorization algorithm.
Motivation & Objective
- To improve the efficiency of Lenstra’s elliptic curve factorization algorithm by introducing a second phase that reduces the expected runtime.
- To analyze the theoretical and practical performance gains of the two-phase algorithm compared to the one-phase version.
- To explore practical refinements such as rational preconditioning, better curve selection, and faster group operations to enhance real-world performance.
- To assess the feasibility of factoring large integers with small prime factors using parallel and optimized implementations.
Proposed method
- Introduces a second phase based on the birthday paradox, where multiple points are computed in parallel to increase the chance of finding a factor p.
- Uses the formula d = ∏(xi − x̄j) mod N to detect a nontrivial factor by computing differences between x-coordinates from two sequences of group operations.
- Employs rational preconditioning to evaluate the product in O((r + log r)s) multiplications, reducing storage and computation costs.
- Applies optimizations such as choosing curves with high divisibility of group order by small primes (e.g., 12), reducing effective p by a constant factor.
- Uses Montgomery’s efficient group operation form (by² = x³ + ax² + x mod N) to reduce the number of multiplications per exponentiation by ~43%.
- Adapts the second phase to Pollard’s p−1 algorithm and vice versa, showing cross-applicability of the birthday paradox approach.
Experimental results
Research questions
- RQ1Can the expected runtime of Lenstra’s one-phase elliptic curve factorization algorithm be reduced by introducing a second phase?
- RQ2What is the theoretical and practical speedup achievable by using a birthday paradox-based second phase in elliptic curve factorization?
- RQ3How do refinements such as curve selection, rational preconditioning, and optimized group operations affect the performance of two-phase algorithms?
- RQ4What is the impact of these improvements on the size of factors that can be feasibly factored within a given computational budget?
Key findings
- The two-phase algorithm achieves a theoretical speedup of O(T₁(p)/log p), where T₁(p) is the expected time of the one-phase algorithm.
- For p ≈ 10^20, the birthday paradox second phase provides a practical speedup of about 4 times over the one-phase algorithm.
- With additional refinements including rational preconditioning and curve selection, the speedup increases to approximately 6.6 times for p ≈ 10^20.
- Optimizations such as Montgomery’s group operation form and better curve selection reduce the number of multiplications by 3–4 times, improving both one-phase and two-phase algorithms.
- The combined improvements make it feasible to factor integers with prime factors up to about 50 decimal digits using around 10^14 multiplications.
- The RSA cryptosystem should use numbers with at least 100 decimal digits to remain secure against elliptic curve factorization attacks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.