Factoring integers with elliptic curves