logoalt Hacker News

vova_hn2 • today at 5:54 PM • 4 replies • view on HN

Okay, let's say I was designing my own cryptographic protocol.

Yeah, I know, "don't roll your own crypto", yada yada yada

Purely theoretically, as a thought experiment

What are the downsides of using three-layered encryption on top of each other, consisting of: 1) stupidly large RSA, let's say RSA-8192; 2) elliptic curves; 3) one of the new post-quantum things that they all recommend?


Replies

mr_mitm • today at 5:58 PM

Hybrid schemes are already being standardized in TLS and SSH. Example: https://www.rfc-editor.org/info/rfc10042/

aphysically • today at 6:06 PM

Other than the answers already given: because factoring and the elliptic curve discrete log problem are both in a sense an instance of the abelian hidden subgroup problem, in practice most major developments attacking crypto on one problem have resulted in an analogous or copied solution for the other problem. As a result, there may be limited security utility to composing algorithms based on those two problems in particular when your concern is future cryptoanalysis developments.

➕ show 1 reply
bawolff • today at 6:30 PM

Two things:

-Layering can be tricky, make sure you do it right.

-performance

But in general yes, most post quantum stuff is layering both the new pqc algo with a classical algo to get security of both.

andai • today at 6:23 PM

Yes, and then actually then roll your own on top of that to really throw them for a loop :)

Now for my own question: how do they stack? e.g. 2 layers of RSA? (As a function of key size, e.g. 2x1024 = 2048?)

Or is the deeper point here that key size (and therefore stacking?) becomes irrelevant if a weakness is discovered from the math side of things?