Password Security: Salting vs Hashing

SY0-601 By islever Editorial Last updated

Short answer

C Salting is the process of adding a unique, random secret value to a password before hashing to ensure distinct hashes for identical passwords.

Question

Which of the following best describes the process of adding a secret value to extend the length of stored passwords?
  1. Hashing
  2. Quantum communications
  3. Salting Correct Answer
  4. Perfect forward secrecy

Key Takeaways

The question tests the specific definition of salting versus general hashing, highlighting that salting extends the input data to defeat precomputed lookup tables.

Salting is the cryptographic technique used to add a random secret value to passwords before hashing. This process prevents rainbow table attacks by ensuring identical passwords produce different hashes.

Common mistake: Candidates often select 'Hashing' because it is the primary mechanism for storing passwords, but they miss the specific detail about adding a secret value to extend length or uniqueness.

Expert Analysis

Why the Answer Is Correct

Correct answer: C — Salting involves appending a unique, random string (the salt) to a password before it is processed by a hash function. This ensures that even if two users have the same password, their stored hashes will differ significantly, effectively extending the complexity and defeating precomputed dictionary attacks.

Why the Other Options Are Wrong

Hashing (A) is the algorithmic process of converting data into a fixed-size string, but it does not inherently involve adding an external secret value. Perfect Forward Secrecy (D) is a property of key exchange protocols in secure communications, unrelated to password storage. Quantum communications (B) refers to transmission methods using quantum mechanics and is irrelevant to this context.

Community Comment Notes

Community consensus strongly supports Salting as the correct term for adding random data to passwords. As salah112 noted, "The salt is combined with the user's password before hashing... making it more difficult for attackers to use precomputed tables." Other users confirmed that "Add = Salting," reinforcing the direct link between the action described and the terminology.

Exam Strategy

Focus on distinguishing between the mechanism (hashing) and the enhancement (salting). When questions mention 'random value,' 'unique per user,' or 'extending password length,' think immediately of salting to prevent rainbow table attacks.

Frequently Asked Questions

Why isn't Hashing the correct answer?

Hashing is the transformation algorithm. Salting is the specific act of adding random data to the input before hashing to increase security against precomputed attacks.

How does Salting prevent Rainbow Tables?

Rainbow tables rely on precomputed hashes of common passwords. Since each salted password has a unique random prefix/suffix, the resulting hash is unique, rendering generic rainbow tables useless.

More SY0-601 FAQ →

Community Votes

C
100%

100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Discussion 6 contributions

Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.

From public community threads 6

  1. salah112 👍 1 Answered C
    C. Salting The process of adding a secret value to extend the length of stored passwords is known as "salting." In password security, a salt is a random value that is unique for each user. The salt is combined with the user's password before hashing, making it more difficult for attackers to use precomputed tables (rainbow tables) or other techniques to crack passwords.
  2. SecNoob27639 👍 1 Answered C
    Salting adds random data to the end of the password.
  3. JamesDond 👍 2
    B. You never know.
  4. d845f70 👍 1 Answered C
    Add = Salting
  5. Hs1208 👍 1 Answered C
    C. Salting
Show 1 more comment
  1. Ken_Kaniff 👍 1 Answered C
    Salting

Reader comments & corrections

No reader corrections yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

← Back to SY0-601 Study Guide