Remix.run Logo
▲ alkonaut 6 hours ago

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`