Remix.run Logo
▲ ahartmetz 6 hours ago

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.