Asymmetric cryptography is feeling the squeeze
There is one obvious way to break any kind of encryption: just try every
以下正文同步自 Hacker News 最新,版权归原站所有,已转换为易读排版。
There is one obvious way to break any kind of encryption: just try every possible key and see if one of them works. If keys are N bits, then there are 2N possible keys to try, and any attempt at brute force must take time asymptotically proportional to 2N operations. Symmetric encryption, which assumes that both parties already have a shared secret key, is not known to have any way to do better than that (except for
Grover's algorithm on a quantum computer, which can do the brute forcing in only 2N 2N [edited to correct a typo] operations). There are, however, algorithms that can break asymmetric encryption more quickly than brute-force. Asymmetric encryption allows two parties without an existing shared secret to communicate securely and underlies almost all security on the internet. To keep their security comparable to that of symmetric-encryption algorithms, asymmetric-encryption algorithms compensate by making the keys much larger.
RSA encryption relies on the fact that it is difficult to determine the prime factors of some numbers. Most numbers have small prime factors, which makes it easy to reduce the size of the problem; numbers whose only prime factors are, themselves, large, are believed to be difficult to factor. An RSA public key is based on such a number, although there are additional steps involved. Anyone capable of factoring the public key can recover the private key.
The
best proven integer-factorization algorithm that was known in September 2026 and was applicable to RSA took a number of operations asymptotically proportional to 2N5. [Edit: the
general number field sieve is faster in practice, but not proven to be faster in all cases.] As a consequence, RSA keys that are 3072 bits long are generally considered to provide equivalent security to 128-bit symmetric-encryption keys.
The elliptic curves used in cryptography have a similar story. Each elliptic curve is a set of discrete points constructed from an underlying finite field to fit on a particular shape of curve. Those points can be combined using an operation that is somewhat analogous to multiplication. Repeatedly performing the operation is therefore an analog of exponentiation. Reversing the process to determine which power a particular base point has been raised to in order to produce a result, is known as the
discrete logarithm, and is also believed to be hard.
The best known algorithm for the discrete-logarithm problem is
Pollard's rho algorithm for logarithms, which takes a number of operations proportional to 2N, [edited to correct a typo] where 2N is the size of the underlying finite field. Elliptic-curve-based protocols generally pick finite fields that are bigger than 256 bits, so that they have 128-bit equivalent security.
Lattice-based cryptography, which is most famous for its use in "post-quantum" encryption schemes, is probably the strongest of the three main families of asymmetric encryption in use today. It depends on the difficulty of correcting certain classes of errors in equations over integer lattices (discrete arrays of points in high-dimensional space with even spacing between points), a problem known as learning with errors. Lattice-based cryptosystems, such as the NIST-standardized ML-KEM, also need large key sizes for security. NIST's medium-sized lattice keys are 15,616 bits.
As long as increasing key sizes makes an attacker spend much more computing power to break the encryption than a user needs to perform the encryption, there has always been something of a safety net against better attacks: just keep increasing the key size.
In October 2026, OpenAI and Anthropic both released papers providing a new algorithm for the
3-SAT problem. Take N boolean variables and construct a list of clauses that must all be true. Each clause has the form "A or B or C" where A, B, and C are either a boolean variable or its negation. The 3-SAT problem asks whether there is any way to assign true and false values to the variables that makes the whole list of clauses true. 3-SAT is a classical example of a hard problem that other hard problems can be expressed in terms of. Many other problems, such as knapsack packing, can be rewritten as 3-SAT problems.
The
newly discovered algorithm is capable of solving 3-SAT in subexponential time: for any positive choice of a number ε, it is possible to solve 3-SAT in time asymptotically proportional to 2εN. As ε gets smaller, the amount of up-front work that the algorithm has to do grows, but never by more than the time it saves for large enough inputs. The longstanding
exponential-time hypothesis (ETH) that the linked paper disproves was the supposition that 3-SAT could not be solved so quickly. Since 3-SAT is so general, a way to use the same theoretical framework to factor integers in subexponential time was published less than a day after the disproof of the ETH.
It took until the end of October for that logic to be applied to elliptic curves, and the results weren't as dramatic. The algorithm published by Max Planck and Ruhr University researchers can solve the discrete-logarithm problem in time asymptotically proportional to:
which is faster than Pollard's rho algorithm.
The caveat is that the new algorithms are
"galactic": they are faster for large enough inputs, but for inputs of a practical size, they are still slower. This is why their running times are given only as asymptotic proportionalities, and not as plain numbers. So, public keys cannot be factored any faster with this new knowledge. But, these new results set an implied upper bound on the size of RSA and elliptic-curve public keys: past a certain threshold, increasing the size of the key will no longer increase the amount of work attackers have to do any faster than the amount of work it takes to encrypt. Since algorithms only improve over time, RSA and elliptic-curve cryptography are being squeezed between algorithmic improvements from below (requiring larger key sizes) and above (setting a limit on how big those key sizes can be).
Right now, that upper bound is comfortably far away. The crossover point for elliptic curves lies somewhere around 24096-bit finite fields. If there turns out to be a more efficient way to compute 3-SAT, or if researchers find additional simplifications, that number could come down quickly. The research is too new for there to be any follow-up papers at the moment, but, historically, algorithmic breakthroughs of this kind are often followed by a period of rapid progress before research hits a wall again.
Complexity-theory researcher Scott Aaronson said, in a
recent blog post:
His statement appears to have been referring to Anthropic's discovery of a way to break the most common form of lattice-based cryptography more quickly on a quantum computer. That algorithm is also galactic, and only applies to a subset of all hard lattice problems, leaving lattice-based cryptography under less pressure than elliptic-curve cryptography. Still, this is undoubtedly not the end of cryptographically relevant algorithmic breakthroughs.
We have never had a proof that the problems underlying asymmetric cryptography are difficult, only a feeling that they must be based on the fact that decades of work by mathematicians had not made the problems much easier. Now, we know for a fact that the problems are not hard in a rigorous mathematical sense, only hard in an economic and engineering sense. Practically, the discoveries of the past few months have not changed the security and feasibility of our encryption systems; emotionally, it may be a good time to reflect on what assumptions our digital security relies on, and whether we are prepared to trust them going forward.
Second:
Practically, the discoveries of the past few months have not changed the security and feasibility of our encryption systems; emotionally, it may be a good time to reflect on what assumptions our digital security relies on, and whether we are prepared to trust them going forward.
I'm not going to talk about the emotionally part, because realistically, in our lives, I don't think we will have to worry about this?
But as for assumptions digital security relies on: yes, technically, if you have any fast enough computer, you can brute force and find those numbers. But perhaps keys can be "layered", where, and I know this may be ridiculous, you can only decrypt a key if you already have one decrypted.
Basically, a file having two layers of encryption, instead of one. So, a confidential file would first be encrypted by an "inner" key, and then that encrypted file would be encrypted again by an "outer" key. Then use the public keys of both the inner and outer to encrypt. But this way, if one layer is cracked by brute force, there is still another, and that leaves time to transition to newly generated keys.
Thanks + "layered keys"
Posted Dec 1, 2026 15:10 UTC (Tue) by daroc (editor, #160859) [Link] (5 responses)
So this is already possible, and, in fact hybrid-PQ keys do exactly this. For example, if you create a mlkem768x25519-sha256 SSH key, it will be encrypted first with ML-KEM (a lattice-based method) and then with x25519 (an elliptic-curve-based method).
The reason that you can't simply "stack" a large number of layers of encryption to ensure security is that two layers of asymmetric encryption using the same algorithm (so, for example, two layers of x25519) is strictly worse than having one layer with a larger key. If breaking one layer takes 2N time, breaking two layers takes 2N + 2N = 2N+1 time. But breaking a single layer with a key that is twice as big takes 22*N time, which is much longer.
The reason to use hybrid schemes like mlkem768x25519-sha256 is to guard against unexpected discoveries that completely break one of the component schemes, to give you time to increase your key sizes. Practically, I think that people should be moving to hybrid schemes, increasing their key sizes, and investigating better lattice-based cryptography. But, as the article said, none of that is too urgent, given that the recently discovered algorithms are all galactic.
Thanks + "layered keys"
Posted Dec 1, 2026 18:46 UTC (Tue) by daroc (editor, #160859) [Link]
Btw I forgot to mention: this is known as a meet-in-the-middle attack.
We have never had a proof that the problems underlying asymmetric cryptography are difficult, only a feeling that they must be based on the fact that decades of work by mathematicians had not made the problems much easier. Now, we know for a fact that the problems are not hard in a rigorous mathematical sense, only hard in an economic and engineering sense.
Not sure that this conclusion is justified? Complexities like O(2^root(n)) are stictly faster than exponential, but 3-SAT is still np-complete, therefore still hard in a strictly mathematical sense and this hasn't changed.
Refutation of the Exponential Time Hypothesis is very exciting though. In the past, there have been advances where problems that are NP-complete in general have been shown to have subexp complexity if the inputs are restricted or have some sort of known shape for which an optimization exists, but this new result pertains to 3-SAT in general. I'm not sure to what extent this extends to other NP-complete problems though. The article mentions that the technique was extended to integer factorization very quickly, but on the other hand, every NP-complete problem needs to be encoded in 3-SAT to be solved by a 3-SAT oracle, and if the encoding itself increases the input size quadratically or worse, this can push the total complexity back up to exponential.
algorithmic breakthroughs of this kind are often followed by a period of rapid progress before research hits a wall again.
Problems are still actually hard?
Posted Dec 1, 2026 16:46 UTC (Tue) by daroc (editor, #160859) [Link]
Problems are still actually hard?
Posted Dec 1, 2026 21:46 U
正文由 探How 从来源站点 RSS 同步,内容未经改写;遇到排版缺失或需要图片、视频时请以原文为准。
