🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.It is faster to compute
  2. B.It can be reversed to recover the password
  3. C.It is deliberately slow and salted, so guessing passwords is expensive
  4. 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 →