Skip to content
Sharp

OWASP Vulnerabilities · interview question

How does salting passwords improve security?

Multiple choiceMediumchapter-17-curatedpremiumowasp-vulnerabilitiescross-site-scripting-xss
Choose one answer
Answer and explanation

Correct answer

C. It makes each password hash unique even if passwords are the same.

Why

Salting passwords involves adding a unique, random value to each password before hashing, ensuring that even identical passwords have different hashes.

Test yourself on OWASP Vulnerabilities

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

Start free test
All OWASP Vulnerabilities questions →