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

Quiz: Passwords and Authentication · Question 2 of 10

What is the purpose of a per-user salt?

What is the purpose of a per-user salt?

  1. A.To encrypt the password
  2. B.To make the hash shorter
  3. C.To make identical passwords produce different hashes and defeat precomputed tables
  4. D.To store the password for recovery
Answer & explanation

Correct answer: To make identical passwords produce different hashes and defeat precomputed tables

In the demo, asha and ravi both used password123 but got different salted hashes.

Can you get the rest right without peeking?

Take the timed Quiz: Passwords and Authentication quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →