What is the salt for?
hash = bcrypt(password + salt)
- To defeat precomputed tables
- To shorten the stored hash
- To speed up the comparison
- To recover a lost password
A unique salt per user makes rainbow tables useless and hides repeated passwords.
Play Cybersecurity ▸