| ▲ | vova_hn2 3 hours ago | |||||||
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? | ||||||||
| ▲ | mr_mitm 2 hours ago | parent | next [-] | |||||||
Hybrid schemes are already being standardized in TLS and SSH. Example: https://www.rfc-editor.org/info/rfc10042/ | ||||||||
| ▲ | aphysically 2 hours ago | parent | prev | next [-] | |||||||
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. | ||||||||
| ||||||||
| ▲ | AlbinoDrought an hour ago | parent | prev | next [-] | |||||||
I agree with you. We do this by chaining existing primitives, and yes, the performance is worse, but that's to be expected. It probably opens room for implementation errors, too, but it's easy enough to fuzz for those these days, especially w/ AEAD. I'd also say there is a difference between hybrid schemes (common) and truely layered / in-series schemes. | ||||||||
| ▲ | hadlock an hour ago | parent | prev | next [-] | |||||||
IBM did this back in the day, they took DES, and called it 3DES. And it was backwards compatible with regular 1DES systems if you used the same key for all three layers | ||||||||
| ▲ | andai 2 hours ago | parent | prev | next [-] | |||||||
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? | ||||||||
| ▲ | bawolff 2 hours ago | parent | prev [-] | |||||||
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. | ||||||||