$ ./guess_the_languageCybersecurity
Cybersecurity · medium · #86

Why is a salt added when hashing passwords?

  1. To defeat precomputed rainbow-table attacks
  2. To let the password be decrypted again later
  3. To compress the resulting stored hash
  4. To make the hashing algorithm run faster
A unique random salt makes identical passwords hash differently, defeating rainbow tables.
Play Cybersecurity ▸