EC Factoring Example How to generate an elliptic curve in Sage Here’s an integer n to factor. Choose and create a curve and point over the ring mod n. Compute the factorial chain of multiples of P Compute a gcd