Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 393 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 393 Bytes

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/