📖 What is Salt (Cryptography)?

Salt is a random string of data added to a password before it is hashed to protect against rainbow table attacks. By ensuring that identical passwords result in different hashes, it forces attackers to crack each password individually.

🥋 Sensei Says:

"Remember that salting prevents pre-computed attacks (rainbow tables), but it does not prevent brute-force or dictionary attacks on a single hash."

📚 Certification: Certified Information Systems Security Professional (CISSP)

🔑 What are the Key Concepts of Salt (Cryptography)?

  • Rainbow Table Mitigation: Salting renders pre-computed hash tables ineffective because attackers must generate a new table for every unique salt value used.
  • Unique Per-User Salts: To maximize security, each password should have its own random salt, ensuring identical passwords result in unique hashes.
  • Storage and Retrieval: Salts are stored in plaintext alongside the hash in the database, as they are not secrets but uniqueness modifiers.
  • Concatenation Process: The salt is appended or prepended to the plaintext password before the hashing algorithm is applied to the combined string.
  • Integration with Stretching: Salting is typically combined with key stretching algorithms like PBKDF2 or bcrypt to increase the computational cost of cracking.

🎯 How does Salt (Cryptography) appear on the CISSP Exam?

You may be asked to identify the most effective defense against rainbow table attacks in a scenario where a database of password hashes has been leaked to an external adversary.

A scenario might describe a security architect designing a password storage mechanism. You will need to explain why per-user salts are superior to a single, system-wide salt for preventing bulk cracking.

Expect questions where you must distinguish between salting and peppering, specifically focusing on the storage location of the value and whether it is intended to be a secret.

❓ Frequently Asked Questions

Does salting protect against brute-force or dictionary attacks?

No, salting only prevents pre-computed attacks like rainbow tables. An attacker can still attempt to brute-force a specific hash, although they must do so individually for every salted account.


Since the salt is stored in plaintext, doesn't that make it useless?

No, the salt's purpose is not secrecy, but uniqueness. By ensuring no two identical passwords have the same hash, it forces attackers to compute hashes for each user individually.


What is the primary difference between a salt and a pepper?

A salt is unique per user and stored in the database. A pepper is a secret value shared across all users and stored in a separate secure location, like an HSM.

Related Terms from Certified Information Systems Security Professional

📝 Related Study Guides

Study Guide 10 min read

How to Pass the CISSP Exam: A Realistic 2026 Study Plan

To pass the CISSP, you must transition from a technical mindset to a managerial one, focusing on risk management and policy over implementation. Success requires a 3-6 month study plan covering all eight domains, using adaptive practice exams to identify gaps and mastering the "mile wide, inch deep" breadth of the CBK.

Career Guide 10 min read

CISSP Experience Requirements: How to Get Your Waiver in 2026

To earn the CISSP, you need five years of cumulative, paid work experience in two or more of the eight CISSP domains. You can obtain a one-year waiver through a four-year college degree or approved professional certifications. Those lacking full experience can become an Associate of ISC2 after passing the exam.

Deep Dive 8 min read

Kerberos Authentication Explained for the CISSP Exam

Kerberos is a ticket-based authentication protocol designed to provide strong authentication for client/server applications by using secret-key cryptography. It utilizes a trusted third party called the Key Distribution Center (KDC) to issue tickets, enabling Single Sign-On (SSO) and preventing replay attacks through the use of synchronized timestamps.

🧠

Test Your Knowledge

Think you understand Salt (Cryptography)? Put it to the test with our practice exam.

Try 10 Free Questions

⭐ 1,000 expert-curated questions available with Premium

Upgrade Premium