OWASP Vulnerabilities · interview question
How does the BCrypt Work Factor influence password hashing?
Multiple choiceMediumchapter-17-curatedpremiumowasp-vulnerabilitiessql-injection
Answer and explanation
Correct answer
D. It determines the computational cost of hashing
Why
The BCrypt Work Factor determines the computational cost of hashing a password, effectively controlling how long it takes to generate the hash, which can be adjusted to balance between security and performance.
Test yourself on OWASP Vulnerabilities
A free test with instant, explained results. No account needed.
More OWASP Vulnerabilities questions
- How would you explain a potential consequence of not using prepared statements in SQL queries in an interview?
- In the context of JWTs, what is the risk of not validating the 'alg' field in the header?
- Why is it important to validate the 'exp' claim in a JWT?
- How does the Spring Security filter chain protect against SQL Injection?
- How would you explain a potential risk of not using CSRF tokens in web applications in an interview?
- What does 'stateless' imply in the context of JWT?