Why is a salt added when hashing passwords?
- To defeat precomputed rainbow-table attacks
- To let the password be decrypted again later
- To compress the resulting stored hash
- To make the hashing algorithm run faster
A unique random salt makes identical passwords hash differently, defeating rainbow tables.
Play Cybersecurity ▸