Hacker News new | ask | show | jobs
by kylehotchkiss 20 hours ago
Apologize if this is super n00b but isn’t breaking encryption a matter of factoring very giant numbers? And now we have many data centers completely packed full of GPUs? Would it not be possible by brute force alone with all the new hardware?
1 comments

Breaking assymetric encryption is plausibly a matter of giant computation - giant factors in the case of RSA, and similarly, a secret scalar along a giant curve (ie, a discrete log) in the case of ECC, so yes your high-level understanding is correct on that part.

However, your estimation of the power of large data centers with respect to the problem space is off by approximately a galactic term: with publicly-available understanding of factorization, and given current standards of bit-strength for the various RSA and ECC implementations, turning every molecule of planet earth into data centers still yields far, far, far less computation than is needed to reliably brute-force a single asymmetric secret in a human lifetime.

So the question is, most likely, whether some bonkers breakthrough in factorization and/or abelian group theory or other varities of math that are, at least at the moment, way beyond my understanding (and I imagine the understanding of most of us here) has transpired.

Framing the discussion in terms of post-quantum is strange - it might for example simply indicate a belief that the current array of post-quantum cryptology is not vulnerable to the newly discovered technique. It's strange that the quantum aspect of the discussion isn't being clarified; it seems perfectly possible to do that without revealing any additional sensitive information.

And it's a very big concern, because, with the possible exceptions of things like hybrid-TLS (which for example can use your now-garden-variety 25519 along with MLKEM768 to achieve what is today hypothesized to be post-quantum resistance), most actual post-quantum crypto is _barely_ battle-tested. I'd be very nervous in this environment to be focused on guarding against actual quantum attacks (which aren't possible in any obvious way in any near-term reality) when the actual threat are mathematical attacks against our current crypto tradition. Those are dramatically different, and for some purposes possibly even oppositional, threats.

Would there be any benefit in double encrypting, i.e. encrypt with a strong traditional encryption and then encrypt with one of the post-quantum methods.
Indeed! That's called a 'hybrid', and the seemingly current most popular TLS key exchange mechanism, X25519MLKEM768, is just that - it's a Diffie-Helmann over Curve 25519 (which itself has been around since 2005 but only became very common fairly recently) and ML-KEM-768. The "L" is for "lattice", so that's the ostensibly "post-quantum" component, though I admit I haven't gone down that rabbithole far enough to really get it.

I had a cryptographer friend explain it to me one time for a couple hours, and she had a pretty good command of the particulars, but I'd need to hear it again to begin to connect it to the world I live in.

You explained this all very well. Thanks jMyles!