4 ms·
I just made a quick Python implementation (3.6+ only as it uses the secrets module) https://github.com/mcdallas/rsa https://github.com/mcdallas/rsa
by sethgecko 9y ago
I just made a quick Python implementation (3.6+ only as it uses the secrets module)
https://github.com/mcdallas/rsa https://github.com/mcdallas/rsa
- lou1306 9y agoNice! I also did something similar during my basic crypto course. I'll just show my implementation of Wiener's attack, which shows that RSA can be super weak if you don't choose your private key with a grain of salt. https://gist.github.com/lou1306/df1bfa60e247b4084149139a97dab761 https://gist.github.com/lou1306/df1bfa60e247b4084149139a97da...