upvote
A salt is a once-per-item value, whereas a pepper is a once-per-deployment/system value. So, if you have an authentication DB and you're using a hardware security module to hash a secret value along with each password, and store that hash in your DB, the secret value stored in your HSM is your pepper. You could also have per-entry salt values hashed in (salt and pepper aren't mutually exclusive). Of course, if you're really doing such a thing, use a memory-hard function designed for passwords.
reply