3 ms·
A global salt is called 'pepper'.
by owenversteeg 12y ago
A global salt is called 'pepper'.
- stouset 12y agoThis thread is dishearteningly full of cargo-culted cryptography. You would think HN would do better. A global salt is not a thing. It's a misapplication of a cryptographic component. The appropriate tool when you think you need something like this is an HMAC and a secret HMAC key.
- owenversteeg 12y agoI wasn't saying it was a good idea, just that the majority of people using one refer to it as a pepper.
- runamok 12y agoOnce again we are talking about having an email retrieval function while not storing the email address in plaintext. A "global salt" or "pepper" (as we are apparently calling it now) just prevents enormous pre-generated rainbow tables but admittedly in today's gpu dominated cracking environment it probably doesn't get you much. Personally I think not having a password retrieval function while simultaneously forcing all of your users to reset their password is a pretty user unfriendly tactic for the protection of an ostensibly public piece of information.