Skip to content
Sharp

OWASP Vulnerabilities · interview question

Why do teams use BCrypt for password hashing in production code?

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

Correct answer

C. It automatically handles salting and work factor.

Why

BCrypt automatically handles salting and allows for configuring the work factor, providing robust security by making brute-force attacks more computationally expensive.

Test yourself on OWASP Vulnerabilities

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

Start free test
All OWASP Vulnerabilities questions →