Skip to content

Python implementation of the Self Initialising Quadratic Sieve

License

Notifications You must be signed in to change notification settings

skollmann/PyFactorise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

PyFactorise

Python implementation of the Self Initialising Quadratic Sieve.

factorise.py factorises a natural number given as a command line parameter into its prime factors. It first attempts to use trial division to find very small factors, then uses Brent's version of the Pollard rho algorithm [1] to find slightly larger factors. If any large factors remain, it uses the Self-Initializing Quadratic Sieve (SIQS) [2] to factorise those.

[1] Brent, Richard P. 'An improved Monte Carlo factorization algorithm.' BIT Numerical Mathematics 20.2 (1980): 176-184.

[2] Contini, Scott Patrick. 'Factoring integers with the self- initializing quadratic sieve.' (1997).

About

Python implementation of the Self Initialising Quadratic Sieve

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages