B8 · Methods that workWorks, and here’s how it scales
Elliptic curves (ECM)
Like p − 1, but every curve is a fresh chance for a smooth group order. Finds medium-size factors of huge numbers.
The idea
Points on y² = x³ + ax + b can be “added”. Done mod p, a curve has some number of points between p + 1 − 2√p and p + 1 + 2√p, different for every curve. If that count is made of small primes, multiplying a point by all small primes lands on the curve’s “zero”, and working mod N that shows up as a division that fails: the that blocked it is p.
Watch it
N = p × q with q a 32-bit prime. Each curve is one fresh try; the count of curves needed is luck, the count of point operations is the work.
The test
Seeded toy numbers N = p × q, q fixed at 32 bits, p from 12 to 32 bits, four each. Work is point operations; rho counts steps.
Fig. B8.2Work to find the smaller factor p: ECM point operations and rho steps, same numbers
Measuring…