An unofficial, read-only Hacker News reader.

The matrix multiplication exponent is nine fourths [pdf] (opens external site)

1072 points by E-Reverance 4 days ago | github.com | 615 comments on HN

View full thread · View on Hacker News

Comment thread (39)

  1. There's a snowball's chance in hell that they haven't found any cryptographically-relevant results. And given how security averse the NSA has been (they pushed NIST to standardize a backdoored random number generator then paid the RSA company $10 million to use it[1]), I have the feeling that the findings won't be used to strengthen cybersecurity, but as weapons.

    More reason to invest in crypto agility, I guess. I just hope that they haven't broken all public key crypto, life is hard enough already.

    [1] https://www.reuters.com/article/us-usa-security-rsa-idUSBRE9...

    Replies (7)
    1. From Security Now! analysis of Anthropic looking on those seeds it seems that those were simply numbers generated by used in 90's standard C random generators. They discussed it in ep 1101. https://twit.tv/posts/transcripts/security-now-1101-transcri...
      Replies (1)
      1. That's about the magic numbers in the ECDSA construction. The Dual_EC_DRBG had an honest-to-god public key embedded in it, and generated "random" numbers by basically encrypting data with this key. The only reasonable explanation is that the NSA holds the private part and is therefore capable of reverse-engineering random sequences generated with it. Hence why they paid the RSA company to use it. It was not subtle at all.
        Replies (2)
        1. You are right. In the same ep they stated: ``` DUAL_EC_DRBG (the dual elliptic curve deterministic random bit generator) controversy, which is the clearest documented case of a cryptographic standard that appears to have been deliberately built to incorporate an exploitable weakness. ``` My bad, I remembered this second part about source of entropy.
        2. Indeed, Dual_EC_DRBG wasn't!

          I wrote this a while ago to link to people who decontextualize the NSA's scandals to argue against good cryptography engineering. Might be useful or interesting to folks reading this thread: https://soatok.blog/2026/10/29/your-cryptography-conspiracy-...

          Replies (1)
          1. That blog post misses the prime suggested for use in diffie hellman that was letting them decrypt most internet traffic.

            I've heard over beers from relevant standards orgs that while a big deal wasn't made of it, the relevant people have been essentially black balled from future contributions as it was clear they intended to back door the standard.

            Replies (1)
            1. The blog post doesn't miss anything. I focused on a sample of the NSA's scandals, without promising to be exhaustive.

              Continue this thread (1 replies) →

    2. >a snowball's chance in hell

      based on what vibez?

      proving RH, NS or even ^2.25 doesn't imply factoring in p or attacks against the discrete log which are assumptions that are much simpler and well tested.

      Replies (1)
      1. It takes a very similar skill set, and the evaluation of cryptanalysis progress is even more structured than Lean proofs, which makes it more amenable to large-scale LLM efforts. I'm surprised you find this controversial.
    3. The day of reckoning is coming: with the CIA/FBI attack, it is pretty clear that the "competition" (China/DeepSeek) has the same capabilities. This was to be expected, so the NSA being sloppy and pushing for _less_ security is putting the US security in danger.
      Replies (1)
      1. Why would China want to harm us?

        There is no cold war. The West just has to dangle enemies in front of its citizens to justify the Empire and the necessity of funding a powerful military and its ancillary institutions. Anyone who tells you otherwise is one-shot by Empire, or working on behalf of it.

        Hardcore China hawks are basically all owned like cheap prostitutes by military contractors who need perpetual adversaries to exist to justify their existence to congress as to why we need billions in public funds.

        Im not saying China is perfect, but they certainly dont have some broad ambition to do systemic harm to American society.

        Its American aggression in the defense and maintenance of Empire that is the real threat, even to its own citizens who it will gladly throw into the trenches in a blood sacrafice on behalf of the capitalist dealers of weapons that profit from their deaths.

    4. Scott Aaronson: "I’ve now heard many, many rumors that one or both labs are sitting on Factoring in P."

      https://scottaaronson.blog/?p=10362#comment-2044495

      Replies (8)
      1. I'm not sure I buy that, it's seems wildly improbable to me that factoring actually is in P. If it is, I bet it's some useless galactic algorithm, like the FFT one that OpenAI (I think?) published recently. I don't think RSA-4096 is in any danger any time soon.

        Though, you know. Always possible this comment makes me look very foolish in a month.

        Replies (2)
        1. I also think factoring is not in P, but it doesn't make RSA-4096 automatically secure.
        2. Why not?
      2. I think the thing to assume is that there are subtle bugs in all sorts of cryptosystems rather than old basic assumptions being invalidated.

        I think this is a great reason for the EU to hurry up and design training chips to get into the LLM scaling game, so that it doesn't need to fear lacking critical maths knowledge. One could hope that fear of factoring in P was enough to motivate serious action.

        Replies (1)
        1. Right now there is a good chance that anyone with access to public LLMs might find exploitable bugs in implementations of things like RSA. But given what we're currently seeing about pure math getting annihilated on a generational level by non-public models, I wouldn't be surprised if they found fundamental flaws in our crypto math. Factoring in P is just one thing. They might be onto something bigger like P=NP (which they certainly are pushing tons of resources into). It would be so ironic if the widely criticised series finale of Silicon Valley turned out to be right and instead of shutting down and burning the evidence, our AI companies just went ahead and destroyed society.
          Replies (1)
          1. When I say subtle bugs I do mean maths bugs, but in less fundamental things than factoring.

            Things like traditional cryptographic stuff, things that reduce the strength of the cipher, wrong constants, etc.

            Replies (1)
            1. I mean, RSA was always based on a hypothesis with zero evidence. A hypothesis that already got dealt a major blow by Shor's algorithm 30 years ago. At this point I would not be surprised to hear that it is also broken on classical computers. And if frontier models can figure out factoring, I wouldn't bet on discrete log / ECC being safe either. In fact even post-quantum algorithms are not guaranteed to be safe. Any securty system that is not proven mathematically will basically become a ridiculous gamble. Because even if OpenAI/Anthropic don't publish it, you can bet the NSA will know about and weaponize it.

              Continue this thread (1 replies) →

      3. Well yes; that would be the, obvious, thing to circulate a rumour about.
      4. That's annoying, but with the PQC migration we're already deprecating pure RSA. What would be painful was any results on the lattices of ML-KEM, ML-DSA, etc. We have more options, but each algorithm comes with downsides, I wouldn't want to lose any.
        Replies (1)
        1. I'd expect that for the next 5 years. A broken RSA would have a whole lot more direct impact than a broken ML-KEM would. Breaking lattices would be very annoying to people doing long term crypto planning. And would require throwing out a whole lot of work.

          Breaking RSA would harm security on millions of websites and devices. And would involve a whole lot of grief and direct harm to a lot of people.

          One of those is worse than the other.

          Replies (1)
          1. If RSA is broken, you can quickly switch to EC with a config change and certificate renewal. If ML-KEM is broken, there are no widely standardized/supported alternatives.

            > Breaking lattices would be very annoying to people doing long term crypto planning.

            It's worse than that because of Harvest Now, Decrypt Later. But yeah, the immediate impact would be lesser.

            Replies (1)
            1. Few people are relying on ML-KEM only at the moment. And harvest now decrypt later is of a wholly different magnitude compared to “MitM everyone who trusts RSA”.

              Especially since 115 out of 167 trusted root certs in the Mozzila trust store still use RSA.

      5. There goes the quantum gold rush?
        Replies (1)
        1. The quantum gold rush was never about fast factorization. That's an inconvenient byproduct. Fast chemistry simulation on the other hand....
      6. Factoring in P would remove the convenient security argument that breaking RSA is in a whole different complexity class than verifying/decrypting RSA.

        But if it is some galactic algorithm with a large constant factor and exponent 20, then you can still double the security of an RSA key by making the key 3% larger. That gives a pretty decent security margin.

      7. "I’ve now heard many, many rumors that one or both labs are sitting on Factoring in P. I don’t know how much to credit this. While I’m virtually certain that the labs are, indeed, sitting on one or more bombshells for cryptography, it’s possible that the exact nature of those bombshells has gotten distorted via a game of Telephone."
      8. O(n^100) is technically polynomial. But with 4096 bits of key material, this would be absolutely ridiculous to attack.

        If this math stuff is making you nervous about your current RSA scheme, I'd recommend moving to ECDSA with P-384 or P-521 curves. P-521 gets you close to the nominal classical strength of AES256 which is effectively immune to quantum concerns. It also saves you from the scaling problems with massive RSA keys.

        Replies (1)
        1. I mean, isn't that just as vulnerable if an efficient discrete log is found?
    5. Isn't that assuming there is a roughly similar amount of actually invested resources to tackle both set of problems?

      Also a little while ago I tinkered to switch the OpenSSL backend on my test server to support Kyber for PQC. The math behind all this is not trivial, obvious, but switching from one algo to the other is actually trivial. Sure it'd be a mess for a bit, especially with... as always unmaintained old systems, that's nothing new.

      So I'm not saying breaking the most popular crypto algorithm is a nothingburger BUT I would still argue it wouldn't be the end of the World as we know it.

      We are already seeing a bunch of security issue with a lot more boring stuff, like unpatched vulnerabilities.

      Replies (1)
      1. Maybe cryptanalysis is much easier than proving the Riemann Hypothesis. Or maybe cryptanalysis actually has more invested resources, secretly, because the ROI is a lot clearer than the PR they're getting with the pure math results, and they can ask the NSA for extra budget.

        And surely by now they would have broken some of the old ciphers, or improved slightly on attacks that are not yet practical. Instead, there's a huge hole where those results would be.

        Replies (1)
        1. My first intuition was to agree with you, but on second thought: What is the ROI on breaking crypto for a company that wants to appear trustworthy? Surely, the first reaction would be a lot of negative PR.

          And there is nuance here. Let's say you go for low hanging fruits, and break SHA1, 3DES or RSA-1024 completely. Well, you just forced a lot of legacy systems that were already deemed insecure to shut down. Not a whole lot of RoI on your side though.

          Breaking the SOTA crypto is probably orders of magnitude more challenging.

          Replies (1)
          1. Good questions.

            By RoI I was thinking of impact vs effort, not necessarily positive/negative reactions. I'm also not sure that the first reaction would be negative, as long as they frame it carefully, for example "OpenAI proves that RSA was insecure all along and foreign intelligence agencies could have been reading American communications".

            They could also have a deal with the NSA to provide models in dedicated, private hardware. "Of course we were lending our models to the NSA, it's a matter of national security! Broken RSA? No idea, part of the contract is that we're not allowed access to the transcripts." Money without backlash.

            > And there is nuance here. Let's say you go for low hanging fruits, and break SHA1, 3DES or RSA-1024 completely. Well, you just forced a lot of legacy systems that were already deemed insecure to shut down. Not a whole lot of RoI on your side though.

            If the low-hanging fruit is not relevant anymore, then there's no reason to not include the results along other number theory proofs, and get PR for being so good at math. If the low-hanging fruit is still marginally relevant, the implication makes it a good advertisement for defense contracts.

            They've managed to, so far, shrug off the intellectual property theft accusations, the psychological damage to users, the societal issues from labor replacement, the inherent risks of developing smart AI, etc. I find it unlikely that breaking cryptography is what gets them. More likely to be a gag order or similar governmental meddling.

    6. There are dozens examples of this, I recall something about Microsoft not being allowed to push a certain fix in Windows as the NSA was apparently using it maybe two decades ago.

      It’s obvious that defense / war will be the most lucrative business for both OpenAI and Anthropic.

    7. It's survivorship bias - just like the classic picture of plane with all the holes. In this case, what aren't we seeing? As you imply, no headline-grabbing proofs in cryptography.

      Then again, are there other fields of mathematics that haven't had LLM driven proofs yet?