Actually you can only use QuadraticSieve.cpp with gmp.h, which is the fastest code
Integer Factorization, Project for Designing of Algorithm (PKU)
Miller Rabin: https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality_test
Rho: https://en.wikipedia.org/wiki/Pollard%27s_rho_algorithm
Dixon: https://en.wikipedia.org/wiki/Dixon%27s_factorization_method
Quadratic sieve: https://en.wikipedia.org/wiki/Quadratic_sieve
gmp.h (cpp Multiple Precision Arithmetic Library)
python3.6
Cython