Remix.run Logo
▲ haakon 7 hours ago

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.

▲articulatepang 6 hours ago | parent | next [-]

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.)

▲saifelse 6 hours ago | parent | prev | next [-]

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
▲vadansky 6 hours ago | parent | prev | next [-]

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!"

▲thehamkercat 6 hours ago | parent [-]

one letter correction in the paper throws the hash out

▲vadansky 6 hours ago | parent | next [-]

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.

▲spolitry 6 hours ago | parent | prev [-]

Something something semantic hashing

▲levocardia 7 hours ago | parent | prev | next [-]

Great teachable example of why salting is useful!

▲alkonaut 6 hours ago | parent | next [-]

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?

▲haakon 6 hours ago | parent | next [-]

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.

▲pinum 6 hours ago | parent | prev | next [-]

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.

▲vadansky 6 hours ago | parent [-]

> found a SHA3 collision

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

▲articulatepang 6 hours ago | parent [-]

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.

▲spolitry 6 hours ago | parent [-]

"Many GPU years" is a small amount of compute of the information is valuable.

▲ahartmetz 6 hours ago | parent | prev | next [-]

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.

▲alkonaut 6 hours ago | parent [-]

Right. So for SHA256 I would be trusted, but for SHA1 I might have just reversed it after it was published?

▲RyanCavanaugh 2 hours ago | parent [-]

Even then, it would only be suspicious if your salt was large enough to be able to reach any possible target hash in the first place. If your precommitted salt is "five digits" then you can only possibly generate 10,000 hash values by mutating it.

▲bscphil 6 hours ago | parent | prev | next [-]

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.

▲iosjunkie 5 hours ago | parent | prev | next [-]

Create the salted title:

  salt = "123456789"
  salted_paper_title = "The paper's title" + salt
Publicly release:

  SHA3(salted_paper_title)
  SHA3(salt)
▲Taek 6 hours ago | parent | prev [-]

Like this:

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

▲throw310822 6 hours ago | parent | prev [-]

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

▲unddoch 6 hours ago | parent | prev | next [-]

Yeah, they should never ever get privileged access to this stuff again. WTF

▲QDwQ1 6 hours ago | parent | prev [-]

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