Factorization: Lenstra Elliptic-Curve Factorization
17 Dec 2021
§ Motivation
We can use some properties of groups formed over elliptic curves to use in a factorization problem.
§ Lenstra's Factorization
The asymptotic complexity of Lenstra's method is . If where prime, and Lenstra's becomes faster than the quadratic sieve.
Lenstra's Elliptic Curve Factorization Algorithm
Suppose we know that is a composite number.
- Choose a random
- Set P = and , let .
- Let , compute and set
- If this step fails, then there is a non-invertible element modulo . Let be the GCD between and this non-invertible element, if , then is a non-trivial divisor of . Stop and return .
- If , restart algorithm with different random parameters.
- Otherwise, increment and repeat.
Lenstra Factorization
Suppose we want to factor with and and .
Then, our elliptic curve is . We can repeat step from to , thusly computing without issue. However, on we encounter a non-invertible element
To compute this point addition, we must compute the multiplicative inverse of modulo , which does not exist. Therefore, is a non-trivial factor of .