Skip to content
Sharp

OWASP Vulnerabilities · interview question

What does salting a password achieve?

Multiple choiceEasychapter-17-curatedpremiumowasp-vulnerabilitiessql-injection
Choose one answer
Answer and explanation

Correct answer

A. Adds uniqueness to hashed passwords

Why

Salting a password adds a unique value to each password before hashing, ensuring that even identical passwords result in different hashes. This prevents attackers from using precomputed hash tables.

Test yourself on OWASP Vulnerabilities

A free test with instant, explained results. No account needed.

Start free test
All OWASP Vulnerabilities questions →