3 ms·
While there are multiple warnings about textbook RSA here in the comments there are currently no direct references to what you are actually supposed to do. The
by upofadown 5y ago
While there are multiple warnings about textbook RSA here in the comments there are currently no direct references to what you are actually supposed to do. The Wikipedia page for PKCS 1[1] provides some basic references. There is a RFC[2].
RSA is very well understood at this point. Rather than obsessing over the wrong way to do it we should be showing people the right way. There is no reason to present simplified examples without reference to the standard.
[1] https://en.wikipedia.org/wiki/PKCS_1 https://en.wikipedia.org/wiki/PKCS_1
[2] https://datatracker.ietf.org/doc/html/rfc8017 https://datatracker.ietf.org/doc/html/rfc8017
- tialaramex 5y agoThe Right Thing in 2021 is to not do RSA encryption. RSA signatures work fine, but RSA encryption has too many footguns and doesn't offer enough benefit to make that acceptable.