Skip to content

MediumConceptBackend security

What is a pepper and how does it differ from a salt?

What a good answer covers

A salt is random, stored with each hash and defeats precomputed tables. A pepper is a secret value shared across hashes and kept outside the database, for example in a secrets manager, so a database leak alone is not enough to crack passwords.

More on Backend security

Flashcards for this topic