The reason why we add salt to a password is to help us mitigate hash table attacks by forcing attackers to re-compute them using the salts for each user.
<h3>What is salt in database?</h3>
A cryptographic salt is composed of random bits that are added to each password instance before its hashing.
Now, Salts usually create unique passwords even in the instance of two users choosing the same passwords. Finally, the importance of adding salts is that they help us mitigate hash table attacks by forcing attackers to re-compute them using the salts for each user.
Read more about database at; brainly.com/question/13262352
#SPJ12