Skip to content

A Python implementation of the Wiener attack on RSA public-key encryption scheme.

Notifications You must be signed in to change notification settings

pablocelayes/rsa-wiener-attack

Repository files navigation

rsa-wiener-attack

A Python implementation of the Wiener attack on RSA public-key encryption scheme.

It uses some results about continued fractions approximations to infer the private key from public key in the cases the encryption exponent is too small or too large.

Test

To run test, first install pytest

pip install pytest

Then run

pytest tests/

About

A Python implementation of the Wiener attack on RSA public-key encryption scheme.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages