← Quiz: Security and JWT: all 10 questions
Quiz: Security and JWT · Question 9 of 10
Why is bcrypt preferred over MD5 or SHA-1 for passwords?
Why is bcrypt preferred over MD5 or SHA-1 for passwords?
- A.It is faster to compute
- B.It can be reversed to recover the password
- C.It is deliberately slow and salted, so guessing passwords is expensive
- D.It produces shorter hashes
Answer & explanation
Correct answer: It is deliberately slow and salted, so guessing passwords is expensive
Fast hashes let attackers try billions of guesses per second.
Can you get the rest right without peeking?
Take the timed Quiz: Security and JWT quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →