Salting for One-Way Hash Complexity | SY0-701
Which of the following is used to add extra complexity before using a one-way data transformation algorithm?
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The exam tests your ability to distinguish between techniques that increase computational cost (key stretching) versus those that add unique input data (salting). The common trap is confusing these two password-hardening methods.
This question tests the specific cryptographic technique of adding random data to inputs before hashing. Salting is the correct answer because it directly addresses the need for extra complexity to defeat precomputed attacks.
Candidates often select Key Stretching, which involves iterative hashing to slow down attackers, rather than salting, which adds a random value to the input to ensure unique hashes.
Community Discussion (18 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
Salting is the process of adding a unique, random string of data (the salt) to an input, such as a password, before applying a one-way hash function. This ensures that even if two users have identical passwords, their resulting hashes will be completely different due to the unique salt. This technique effectively neutralizes rainbow table attacks and makes brute-force attacks significantly more difficult.Why the Other Options Are Wrong
Key stretching (Option A) refers to techniques like PBKDF2 or bcrypt that iterate the hashing process multiple times to increase computational cost, not necessarily adding 'extra complexity' in the form of unique input data. Data masking (Option B) is used to hide sensitive data formats without altering the underlying security mechanism, often for privacy compliance. Steganography (Option C) is the practice of hiding secret data within an innocuous file or message, unrelated to hash function inputs.Community Comment Notes
The community consensus strongly supports Salting, with most learners noting its role in preventing rainbow table attacks. As user 'lauren2wright' explained, salting ensures "same input will produce different hash values." Another user, 'MAKOhunter33333333', clarified the distinction by stating key stretching makes the cracking process longer while salting adds unique characters to the password input.Exam Strategy
When you see keywords like 'one-way transformation', 'hash', 'rainbow table', or 'unique output', immediately think of Salting. Remember that Salting changes the input, while Key Stretching changes the processing time.
Frequently Asked Questions
What is the difference between salting and key stretching?
Salting adds random data to the input to ensure unique hashes. Key stretching iterates the hash process to increase the time required to crack it.
Why isn't steganography the correct answer here?
Steganography hides data within other files. It does not add complexity to the input of a one-way hash function like SHA-256.
Related Analysis
Practice All SY0-701 Questions
Access 100 questions with complete answers and detailed explanations.
View Full SY0-701 Practice Test →