Skip to content

spipm/LazyfactPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LazyFact

Factoring RSA moduli using crazy luck

Lazyfact tries to factorise a RSA modulus using very basic methods. This project is created for educational purposes and covers the following subjects:

  • C, GMP
  • C, OpenSSL
  • Python, C extensions/packaging
  • Python, threading using Queue
  • Semiprime integer factorisation
    • Trial division
    • Pollards rho
    • Shanks squares
    • Findings another semiprime with a common GCD

Usage - building/installing

$ cd src
$ sudo python setup.py install

Usage - using

$ cd tryOut
$ gcc generator.c -o generator -lgmp -lcrypto 
$ ./generator > moduli.txt
$ python lazyfactThreading.py

Sources / Reading

About

Python package for Lazyfact. Lazyfact tries to factorise an RSA modulus using very basic methods.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors