Unofficial Hacker News client - receive Push Notifications on replies.

Cryptanalytic result from Anthropic: paper title leaked (opens external site)

66 points by aklein 2 hours ago | twitter.com | 74 comments on HN | Vote on HN (opens Hacker News)

Comments (74)

  1. He and another guy each published hashes of the title – one of them used SHA3, the other used SHA2-256 – just to prove to strangers on the internet that they really had exclusive access to the unreleased paper.

    They should both understand that it's very possible to find the preimage when you know that it's the title of an academic paper within a narrow domain.

    But these people are clout chasers and don't seem to have that level of cryptographic intuition.

    Replies (6)
    1. Great teachable example of why salting is useful!
      Replies (2)
      1. How would you use a salt in this scenario? "The title of the article plus the word 'toaster' has the SHA256 [hash]"? Doesn't that reverse just as easily? You need a public salt if you want to convince someone that you knew early?
        Replies (5)
        1. You would need to release the salt later. It would still be convincing, as the only other explanation would be that you found a SHA3 collision.
          Replies (1)
          1. > found a SHA3 collision

            Curious what are the chances to find a SHA3 collision with a plausible sounding scientific paper title.

            Replies (1)
            1. I did some back-of-the-envelope calculations in a sibling comment, and I think it's really implausible to find a collision, or crack the hash in the first place. Like, many GPU years worth of compute.

              Continue this thread (1 replies) →

        2. Pick a random uint32. Say "the paper title + a random number has the SHA256 [hash]". When the paper title is revealed, publish your random number. That proves you knew the paper title in advance.
        3. You need to withhold the salt until the paper is published and the title becomes known. Then you publish the salt, and people can concatenate it to the title and verify the hash.

          There's no practical way for you to construct a salt after the fact such that the title and the salt computes to the hash you already published, unless you also knew the title at the time.

        4. I guess you'd publish the salt after the public release of the paper. Finding a hash collision to "retrofit" the salted hash should not be feasible with a non-broken cryptographic hash function.
          Replies (1)
          1. Right. So for SHA256 I would be trusted, but for SHA1 I might have just reversed it after it was published?
        5. Like this:

          `d9a305c5156494da | Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings`

      2. How does salt work if you want to provide such a certificate? Don't you need to provide the clear text salt together with it in any case? (Though I understand you could keep the salt hidden and reveal it only afterwards if it's short enough, but doesn't feel as good a certificate).

        EDIT: lol, it's like throwing a chunk of meat to the piranhas

    2. What's the use of hashing a title anyways? Shouldn't you hash the whole paper? You can hash a title for anything you want.

      Edit: For example what's stopping me from hashing `P = NP`, then when it's proved/disproved just taking the paper and rewriting it and saying "Look, I proved this a year ago!"

      Replies (1)
      1. one letter correction in the paper throws the hash out
        Replies (2)
        1. Something something semantic hashing
        2. You still prove that you had an unpolished draft at some point, that proved _something_. Otherwise you can just hash a title to camp a discovery even before you started.

          The whole point is you can take your time to polish and work out issues while the bulk of the discovery is proved to have happened earlier.

          Edit: Like the hash proves you were 95% of the way there on that date.

    3. Yeah, they should never ever get privileged access to this stuff again. WTF
    4. While I agree that in principle they should have salted the hashes, it's very implausible that a 16 word paper title got cracked, even within a narrow domain. It's likelier that the actual title comes from a good old fashioned leak; the unsalted hash just proves that both leaks refer to the same title.

      A very rough back of the envelope calculation: suppose you use an LLM to generate plausible titles. The title has 16 words, about 24 BPE tokens. Let's say about 2 bits/token of entropy (that's really optimistic even within the narrow field of quantum lattice papers). Very optimistically that's 2^45 candidates. A fast, small LLM can generate 100k candidates/sec on a GPU, so we're talking about 11 GPU years to generate the candidates. But only 3.5 GPU-hours for the hashes themselves!

      But without the plausible candidates, you have a much bigger search space. Maybe 65 bits very optimistically? That's 400 GPU years worth of SHA3 hashing. I can think of certain firms that have that kind of GPU fleet to throw at the firm, but, uhh, I think they have better things to do with the cards.

      If someone's claiming they actually cracked the hash, I'm very curious how they did it, because I'm stumped.

      (I don't think adding the SHA2-256 changes things; afaik there are no good practical techniques that can combine the two hashes to narrow the search space.)

    5. And further down in the thread, the author of linked tweet replied showing that the title matches both SHA3 and SHA2-256 hashes: https://x.com/justalexoki/status/2127404435504574675

        echo -n "Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings" | openssl dgst -sha3-256
        SHA3-256(stdin)= 560296b35da4dc4add8104d573b5c479eb3c97c66b677a3513b5aaa6432aa387
      
      
        echo -n "Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings" | openssl dgst -sha2-256
        SHA2-256(stdin)= cfbaf75b3a174da179befb0af94421f60a2cdfcf94b24ab1aa565978d6f335a4
    6. orrr he wanted to leak the title but signed an NDA and did it in a way that could be plausibly passed off as a mistake
  2. My read on the whole situation:

    1. It's an interesting but far-off theoretical result that received far more attention than warranted. If a human discovered it, it would have not made any waves whatsoever.

    2. Perhaps unsurprisingly, the RSA-2048 rumor spread on Twitter by Elon Musk and his followers, and mentioned yesterday on HN, turned out to be dead wrong.

    3. More damningly, the whole HN news cycle was started by Scott Aaronson irresponsibly gossiping about AI apocalypse, and I think he should do some soul-searching after that (but probably won't).

    Replies (5)
    1. First point seems quite wrong, practicality is a concept and attack can only improve. The fact that (current) lattice algorithms might not be post quantum is worrying for the post quantum migration at least. Also as harvest and decrypt later is mostly for KEM, which can't be build from one way function only.
    2. Also that people in the know just couldn't shut up, I definetly remember reading some takes on twitter yesterday pointing out weaknesses of the PQ algorithms.
    3. I think Scott Aaronson helped it spread to more sources and add credibility, but people were already speculating about RSA and quantum algorithms on LessWrong before that:

      https://www.lesswrong.com/posts/hNsPFqdYtjKguaSmv/what-if-th...

      Replies (1)
      1. He took a rumor and made it mainstream, in a very hyperbolic gashion, mixing it with the obligatory LW talk of self-replicating nanobots and impending death. I don't think this is an instance where it's a good instinct to come to his defense.
    4. It's not Aaronson's fault that hypemongers distorted what he said.
    5. Aaronson is a massive tech bro. He's not going to stop pumping iron anytime soon. Not until this stops being about words and starts being about addresses.
  3. This whole thing was very poorly handled, like previous Anthropic panics. I don’t understand how a company presumably so concerned about safety has such poor disclosure mechanics.
    Replies (6)
    1. Poorly handled? It's a marketing stunt, working as intended (like previous Anthropic panics).
    2. Anthropic hasn't cared about safety for years. There is no difference between Dario and Sam.
    3. Their strategy will probably have problems down the line.

      Vaguely claim your model can do supernatural scientific feats to create hype and fear so users subscribe to your product, then provide a different model than the one used internally to achieve the advertised feats, then if a user asks about that topic on a gimped model suspend their account.

      Fraud + antitrust problems under a more competent US government.

    4. How can you be concerned about safety if there’s nothing to worry about? You want to build the walls, but first, you need to convince people that they’re necessary. So you create the danger first. Textbook regulatory capture.
    5. They might be genuinely concerned about safety... but nowhere near as much as perceived value. Making more money is the #1 goal, everything else is subsequent to that. It's in the very DNA of every public company, not what their CSR pamphlet says. Anthropic isn't special, even if they keep on repeating so.
    6. It doesn’t appear that Anthropic has really don’t anything here. They met with academics to discuss a result and there was a leak of the meeting, speculation on X etc. Anthropic haven’t actually facilitated any of that.
      Replies (1)
      1. I'm sure they were aware that half the internet was freaking out about an imminent cryptopocalypse. They could have defused that with one tweet. (ofc they didn't because they like generating hysteria)
  4. That's an amusing failure of applied cryptography for someone whose professional title is "applied cryptography".

    (I guess an LLM generated a dictionary of candidate word sequences, and it was small enough to brute-force?)

    Replies (3)
    1. FWIW, a Macbook Pro M4 Pro can SHA3 hash at least 10 billion paper titles in an hour, if you are running optimized code on all cores.

      This is assuming you randomly generated titles from a dictionary in process in Rust or C++.

      Using an LLM would be orders of magnitude slower, but of course it would also search the space orders of magnitude more efficiently. Curious to know what was actually used here.

      Replies (1)
      1. You could get an LLM to write a script that generates plausible titles from a formal grammar perhaps.
        Replies (2)
        1. Or maybe they used next-token prediction with top-k on some kind of sliding window.

          Much smaller search space than a grammar. If you predict the adjective "quasi-", conditioned on that, a good language model guesses "polynomial", because it has "complexity theory" in its context. There's hundreds of compounds that begin with "quasi-", but most[0] are very distant in topic matter. (And if you were brute forcing [adjective]-[noun] according to a grammar, you'd get a combinatorial explosion of noise, even if the noun list were very short).

          [0] https://en.wiktionary.org/wiki/quasi-#Derived_terms

          Replies (1)
          1. You can do waaay better. Quasi-polynomial is a really obvious token in this context. So is power-of-two, “quantum algorithm” (a good model would handle plurals specially), and even “small rank”. Some basic bigrams would get integral lattice, module lattice, and quasi-polynomial quantum algorithm.
        2. This is almost certainly what happened. Or at least, some variation of this idea.
    2. LLMs push close to 1 bit per word with the slightest context on the topic at hand. The title is probably 20-30bits worth of entropy as-is.
      Replies (1)
      1. 20-30 bits is just 1 million to 1 billion possible titles. I think there are WAY more than 1 billion possible paper titles for "major cryptanalytic result". Even if you knew the exact theorem in the paper, I'd guess there's about 20-30 bits of entropy just for different phrasings, orderings, and formatting of the title. There's probably another 20-30 bits for what the paper is about.

        LLMs push close to 1 bit per word on English prose with lots of context, not for high-surprisal stuff like academic paper titles.

        I think it's very implausible that this was cracked. Instead, the unsalted hash proved to be a leak oracle to someone who got the title from some back channel.

    3. I would consider the possibility that this was not an honest but a calculated mistake.

      Technically not breaking NDA while allowing the world to know that the whole thing isn't what anthropic would like it to believe it is.

      Replies (1)
      1. That'd be a very risky path to follow.

        If it came to it, a court wouldn't have much trouble in seeing through that sort of ruse.

        So this would essentially be a bet on it not being in anyone's interest to let it get as far as court - but the potential downside if it did would be huge.

  5. A paper from May at [1] claims a polynomial-time quantum algorithm costing 1.4 million physical qubits / 1400 logical qubits for attacking ML-KEM-1024 (and also attacking NTRU, Falcon, Hawk and similar lattice-based schemes). It's not the only paper in recent years that has claimed polynomial-time quantum attacks.[2] Even if earlier papers were rescinded due to errors, it appears that cryptographers are expecting to eventually find that ML-KEM-1024 etc won't live up to their intended goal of providing long duration protection against quantum computers?

    Perhaps Anthrophic have made further advances on proving a lower number of physical / logical qubits a quantum computer would need to have to effectively break the likes of ML-KEM-1024?

    edit: also adding in for reference a recent paper which proposes that RSA-2048 can be broken in ~3 days with 22593 physical qubits / 1433 logical qubits.[3]

    [1] Module Lattice Security (Part IV): Probabilistic Polynomial Quantum Attack on Module-LWE over 2-Power Cyclotomics, Ming-Xing Luo, https://arxiv.org/pdf/2605.17412

    [2] https://nigelsmart.github.io/LWE.html

    [3] Shor’s algorithm compiled on cat qubits: 22 593 qubits for RSA-2048 in 3.14 days, Pappalardo et al, https://arxiv.org/pdf/2610.37839

    Replies (1)
    1. > 1.4 million physical qubits / 1400 logical qubits

      Is that a lot?

      Replies (2)
      1. I had a quick google, and the current known record is 8 logical qubits, so 1400 sounds like a lot, but I don't know if it's the sort of problem that might get a sudden jump.
      2. It's a lot, it's far beyond current capabilities. However the pace of progress to get there is impossible to predict.
  6. it will be funny if post quantum cyrpto is broken before quantum breaks traditional crypto.
    Replies (2)
    1. It's more like the paper title implies that we will have quantum attacks for the post-quantum crypto we have. Or, put it differently, we might be back to having less effective post-quantum crypto. Defining "might", "having", and "less effective" are all going to be things we all get to do or watch other people do now.
      Replies (1)
      1. If you want signatures and can afford the large signature size, IMO the cryptosystem you want is SLH-DSA. It involves no complex math, it’s based on old technology, and the underlying trapdoor is merely knowledge of hash preimages. Unless P = NP (fully or approximately) or there’s a major hash function break, classical computers will not break it and, if they do, we will have even bigger things to worry about. Similarly, a quantum break would break almost any other classical cryptosystem along the way.

        I can give a brief flavor of how this works. I can choose two random large messages A and B and a hash function H. My public key is H(A), H(B). Later on, I can sign a one-bit message by revealing A if the bit is 0 and B if the bit is 1. The only way to forge the signature is to find a first preimage of one of the hashes. And I can iterate this construction to sign a multi-bit message one bit at a time, but only once - if I reveal the signature of two different messages, an attacker can forge a signature of any mixture of the messages.

        SLH takes this basic idea and adds some Merkle-tree-like technology and some recursion to sort of compress an exceedingly large set of hashes into a short public key. It’s “stateless” in the sense that the signer uses the message itself to choose which group of hashes to partially reveal to avoid the reuse problem.

        If you also want key exchange à la Diffie-Hellman or public-key encryption, I don’t have as great an answer. Sorry.

    2. Would actually be quite a good outcome, assuming we do find other ways for PQC sufficiently fast.
  7. The title: "Quasi-polynomial quantum algorithms for integral lattices and module lattices of small rank over power-of-two cyclotomic rings"
  8. The title makes it unclear to me if NTRU Prime is affected at all. If so, I wonder if its use is reconsidered or we jump to the backup non-lattice-based key exchange scheme NIST standardized, HQC.

    I also wonder if the small qualifier in the title means it’s just a security margin thing for ML-KEM et al and the implication is limited.

  9. Well, good that it comes out sooner rather than later. If the uncertainty about RSA pushes people to migrate - maybe important to know it should not be a migration to "PQ" crypto right now.
  10. Wait, the author of the referenced tweet is an actual cryptographer. Surely they know how to use a hash function to construct a proper commitment!

    Hint: you don’t take the secret, hash it and publish it. You take the secret and a random high-entropy nonce and you hash them together. Then, to reveal your commitment later, you publish the secret and the nonce.

    Also… this is not worth the level of absurd messaging that Anthropic is engaged in. No one will run this algorithm any time soon. Anthropic should probably have just published the result or presented it at a normal conference or workshop.

    Replies (1)
    1. he likely erroneously believed that the title contained sufficient entropy. but titles of papers like that are far from random. an LLM probably worked on writing the script to bruteforce it, doing it by hand would have been very tedious.
  11. At some point there should probably a conversation about the ethics of marketing stunts like the one that was defused here.

    I fear that if there is no conversation, eventually, this will no longer be resolved with words.

    Replies (3)
    1. Pearls before swine
      Replies (1)
      1. More of a setup for a "told you so" truth be told.
    2. > At some point there should probably a conversation about the ethics of marketing stunts like the one that was defused here.

      Here's a friendly reminder that AI companies such as Anthropic have a track record of posting bullshit claims to inflate their service's achievements.

      https://www.theregister.com/security/2026/05/11/anthropics-b...

      Replies (1)
      1. I don't know how you can post this article from May claiming that using AI to find security holes is a nothingburger, as if that hasn't been totally disproven by subsequent events.

        Daniel Stenberg has since said: "Since spring 2026 the slop reports are practically gone. Our current challenge is much harder: high volume, high quality."

        https://daniel.haxx.se/blog/2026/10/22/ignore-the-slop/

    3. > the ethics of marketing stunts like the one that was defused here.

      What specific marketing are you referring to?

  12. Sorry, I'm not following.

    Are we saying all of this fear is tied to an advancement in a quantum algorithm? Like one that would need to be implemented on a computer we have yet to build?

    The way this had been hinted at over the past week implied it was more like "stop SSHing ~yesterday."

    Replies (2)
    1. The rumor mill has now filled the entire space between "we have a quantum algorithm that targets Kyber", "we've broken RSA", to "P = NP".

      The only real thing any of us can do is wait for a statement, hopefully from the newly formed CIRG. But at this rate it'll likely not be from adults in the room and we'll instead get some glossy AI-generated "Doom4Crypto.com" drop that stokes the flames even more.

    2. > Are we saying all of this fear is tied to an advancement in a quantum algorithm? Like one that would need to be implemented on a computer we have yet to build?

      Emotions swirling around social media are not necessarily connected to the actual meaning of the news.

  13. Truly shame on Anthropic, Scott Aaronson, and so many others if this is the earth-shattering result they’ve been hyping up
    Replies (2)
    1. What does Scott Aaronson have to do with it? As far as I know, he has merely commented on the hype and probably had little or no actual inside knowledge.
      Replies (1)
      1. Nothing. PP is just part of the rumor mill noise machine.
    2. Scott Aaronson pushed back against the hype. It's not Scott's fault the world has gone crazy.

      https://scottaaronson.blog/?p=10387

      Replies (1)
      1. Some large fraction of the hype is a direct result of his post “HOLY SHIT HOLY SHIT HOLY SHIT HOLY SHIT” https://scottaaronson.blog/?p=10379
  14. at this point anthropic probably deserves legal action against them.