logoalt Hacker News

craigmart • today at 7:32 PM • 1 reply • view on HN

I suppose they were indeed suggesting to retain the salt until disclosure. That is precisely what a salt is (additional input to the hash function), just not used as when storing passwords, since you're protecting the secret against a different scenario (bruteforce)


Replies

kevin_nisbet • today at 8:57 PM

I suppose that's fair, I had in my mental model that a salt isn't a secret, which is where I diverged a bit in addition to additional input to the hash function, but that may be limited to the use of salts with storing passwords, which is where my mental model comes from.