Skip to content
Sharp

Spring Security · interview question

In the context of BCrypt, what does increasing the work factor achieve?

Multiple choiceHardchapter-17-curatedpremiumspring-securityspring-security-filter-chain
Choose one answer
Answer and explanation

Correct answer

C. Increases the security by making hashing slower.

Why

Increasing the work factor in BCrypt increases the time required to hash passwords, enhancing security by making brute-force attacks more time-consuming.

Test yourself on Spring Security

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

Start free test
All Spring Security questions →