upvote
RSA is relatively simple, well understood, and has stood the test of time. PQC is way to complex and untested to be trusted. Hybrid RSA + PQC is the only thing that makes sense from a standards compliance perspective.
reply
No, implementing RSA securely is not simple at all. It is a ridiculous minefield.

The math behind RSA is simple, but the attacks against poorly-chosen secret keys and poor implementations are extremely subtle.

RSA should be taught to students as their first asymmetric crypto algorithm, and probably always will be. But nobody should start using it where it was not already in use.

reply
Sweet summer child.
reply
Can't RSA be implemented in only 7 lines of code? Not sure how that computes with your statement
reply
The connection to the parent post is that the 7-line “textbook” version of RSA is the one that’s vulnerable to all kinds of things that aren’t obvious when you sit down to type in those 7 lines.
reply
Not in the slightest. Getting

1. Constant time bigint arithmetic, and

2. The padding scheme (which has had MANY issues over the years)

Done correctly is relatively complicated. But a shitty insecure version of RSA is easy to write.

reply
Not even close.

First, that seven lines of code includes a bignum arithmetic library, but the ones shipped with your language are not constant-time and not suitable in any way, shape, or form for use in cryptographic code.

Then it’s a pain in the ass and slow to encrypt large messages so literally nobody uses RSA to do so. They generate a symmetric key and use that to encrypt the message then use RSA to encrypt the symmetric key.

With both of those you’ve managed to get to a minimally useful but still laughably insecure RSA implementation.

reply