Comment on How RSA Works: TLS FoundationsComments−sethgecko8yI just made a quick Python implementation (3.6+ only as it uses the secrets module)https://github.com/mcdallas/rsa−lou13068yNice! 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/df1bfa60e247b4084149139a97da...
Comments
I just made a quick Python implementation (3.6+ only as it uses the secrets module)
https://github.com/mcdallas/rsa
Nice! 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/df1bfa60e247b4084149139a97da...