🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Password Storage Lab: all 10 questions

Quiz: Password Storage Lab · Question 9 of 10

Why is a single SHA-256 acceptable for storing password reset tokens?

Why is a single SHA-256 acceptable for storing password reset tokens?

  1. A.SHA-256 is slow enough
  2. B.Reset tokens are never leaked
  3. C.The token is 256 random bits, so guessing it is infeasible even with a fast hash
  4. D.Tokens are stored in plain text anyway
Answer & explanation

Correct answer: The token is 256 random bits, so guessing it is infeasible even with a fast hash

Slow hashing protects low-entropy human passwords; a long random token has no wordlist to try.

Can you get the rest right without peeking?

Take the timed Quiz: Password Storage Lab quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →