Skip to content

A simple and fast implementation of Wiener's attack

License

Notifications You must be signed in to change notification settings

medifle/simpleWiener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simpleWiener

A simple and fast implementation of Wiener's attack against small RSA exponent d

Requirement

shield

Usage

cd to the root of this repository and run the following in your terminal:

python3 -m simpleWiener.core e n

e and n are usually large integers you already know

Example

python3 -m simpleWiener.core 9292162750094637473537 13029506445953503759481

output:

phi=13029506445724987531764
k=363
d=509

Credits

https://www.cits.ruhr-uni-bochum.de/imperia/md/content/may/krypto2ss08/shortsecretexponents.pdf https://github.com/orisano/owiener/blob/master/owiener.py

License

MIT

About

A simple and fast implementation of Wiener's attack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages