← Quiz: Password Storage Lab: all 10 questions
Quiz: Password Storage Lab · Question 3 of 10
When is the right moment to upgrade a user's legacy sha256 hash to PBKDF2?
When is the right moment to upgrade a user's legacy sha256 hash to PBKDF2?
- A.During a nightly job that converts all hashes
- B.Right after the user logs in successfully, while the server has the real password
- C.Before checking the password
- D.Never; old hashes are fine
Answer & explanation
Correct answer: Right after the user logs in successfully, while the server has the real password
A hash cannot be reversed, so the only time you know the password is during a successful login.
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 →