OWASP Vulnerabilities · interview question
In Java, what is a potential downside of using BCrypt with a very high work factor?
Multiple choiceHardchapter-17-curatedpremiumowasp-vulnerabilitiessql-injection
Answer and explanation
Correct answer
B. Increased computation time for hashing
Why
Using BCrypt with a very high work factor results in increased computation time for hashing, which can lead to performance issues. While it increases security, it must be balanced with system performance requirements.
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?