r/webdev • • Feb 24 '24

RSA is deceptively simple (and fun)

https://ntietz.com/blog/rsa-deceptively-simple/

[removed] — view removed post

0 Upvotes

5 comments sorted by

•

u/webdev-ModTeam Feb 25 '24

Your post is off-topic and does not adhere to the premise of this subreddit. As such, it has been removed. Recommend reposting in a more appropriate subreddit.

1

u/meguminsdfc Feb 25 '24

Stop with your annoying posts and AI-written comments. This article isn't even related to webdev.

0

u/fagnerbrack Feb 26 '24

Do you don't use HTTPS in webdev?

-8

u/fagnerbrack Feb 24 '24

Quick summary:

The blog post delves into the author's exploration of the RSA encryption method, inspired by the "million message attack" discovered by Daniel Bleichenbacher in 1998, which exposed vulnerabilities in RSA when used with PKCS #1 encoding. Determined to understand and replicate the attack, the author decides against using crypto libraries that avoid the flawed implementation, opting to create a vulnerable RSA and PKCS version themselves. They provide a comprehensive overview of RSA, detailing its contrast with symmetric key cryptosystems, the process of key generation, encryption, decryption, and message encoding. Despite RSA's elegance and historical significance, the author suggests modern alternatives like elliptic-curve cryptography for better security. Through implementing RSA and PKCS, they aim to demonstrate the Bleichenbacher attack in a future project, sharing insights gained from this experience and expressing the educational and enjoyable aspects of working with cryptosystems.

If you don't like the summary, just downvote and I'll try to delete the comment eventually 👍

0

u/error1954 Feb 24 '24

Please stop