upvote
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?
reply
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.

reply
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.
reply
> found a SHA3 collision

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

reply
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.
reply
"Many GPU years" is a small amount of compute of the information is valuable.
reply
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.
reply
Right. So for SHA256 I would be trusted, but for SHA1 I might have just reversed it after it was published?
reply
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.
reply
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.
reply
Create the salted title:

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

  SHA3(salted_paper_title)
  SHA3(salt)
reply
Like this:

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

reply
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

reply