Back to glossary

Pepper

A pepper is a secret application-wide value added during password hashing, kept outside the database.

Last updated:

A pepper is an additional secret (often application-wide) mixed into password hashing and stored separately from the database — for example in a hardware module or config vault.

Why it matters

If an attacker steals only the user table, peppered hashes are harder to crack. Peppers complement salts; they do not replace strong user passwords.

PassTip tip

You cannot add a pepper to someone else’s website. You can avoid reuse: generate unique passwords.