encyclopegia.org

Pepper (cryptography)

In cryptography, a pepper is a secret added to an input such as a password during hashing with a cryptographic hash function.[src] This value differs from a salt in that it is not stored alongside a password hash, but rather the pepper is kept separate using another mechanism, such as a Hardware Security Module (HSM).[src] The National Institute of Standards and Technology refers to this value as a secret key rather than a pepper.[src] A pepper is similar in concept to a salt or an encryption key.[src] It is like a salt in that it is a randomized value that is added to a password hash, and it is similar to an encryption key in that it should be kept secret.[src] While a salt is not secret (merely unique) and can be stored alongside the hashed output, a pepper is secret and must not be stored with the output.[src] The hash and salt are usually stored in a database, but, if stored, a pepper must be stored separately to prevent it from being obtained by the attacker in case of a database breach.[src]

In cryptography, a pepper is a secret added to an input such as a password during hashing with a cryptographic hash function.[src] This value differs from a salt in that it is not stored alongside a password hash, but rather the pepper is kept separate using another mechanism, such as a Hardware Security Module (HSM).[src] The National Institute of Standards and Technology refers to this value as a secret key rather than a pepper.[src] A pepper is similar in concept to a salt or an encryption key.[src] It is like a salt in that it is a randomized value that is added to a password hash, and it is similar to an encryption key in that it should be kept secret.[src] While a salt is not secret (merely unique) and can be stored alongside the hashed output, a pepper is secret and must not be stored with the output.[src] The hash and salt are usually stored in a database, but, if stored, a pepper must be stored separately to prevent it from being obtained by the attacker in case of a database breach.[src] ==See also== HMAC passwd ==References==[src]

15 sentences · 15 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Pepper (cryptography)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/pepper-cryptography. Accessed 26 November 2026.

Chicago

"Pepper (cryptography)." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/pepper-cryptography.

APA

encyclopegia.org. (2026). Pepper (cryptography). Retrieved November 26, 2026, from https://encyclopegia.org/wiki/pepper-cryptography

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Serrano pepper

stub · references available

pepper

stub · references available

Financial cryptography

stub · references available

black pepper oil

stub · references available

elliptic curve cryptography

stub · references available

Public Key Cryptography Standards

stub · references available

Pepper Adams discography

stub · references available

Irvin S. Pepper

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1378515767 · 0.5 · snapshot enwiki-001378515767

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.