Skip to content
Sharp

Spring Security · interview question

Why can using a weak BCrypt work factor for password storage in Java become a real problem?

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

Correct answer

C. Faster hash computation but less resistance to brute-force attacks

Why

A weak BCrypt work factor results in faster hash computations, which can improve performance but significantly reduces resistance to brute-force attacks. Increasing the work factor makes it computationally more expensive to crack hashed passwords.

Test yourself on Spring Security

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

Start free test
All Spring Security questions →