🎙 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 4 of 10

How should passwords be stored?

How should passwords be stored?

  1. A.Plain text in a secure database
  2. B.As MD5 hashes
  3. C.With a slow, salted hash such as bcrypt
  4. D.Base64-encoded
Answer & explanation

Correct answer: With a slow, salted hash such as bcrypt

bcrypt is deliberately slow and salted to resist cracking.

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 →