Govur University Logo
--> --> --> -->
...

Explain the role of salt in password hashing, and why is it crucial for protecting user credentials?



A salt is a random string of characters that is added to each password before it is hashed. Hashing is a one-way function that transforms a password into a fixed-size string of characters. The purpose of hashing is to store passwords securely so that even if a database is compromised, the actual passwords are not revealed. However, simply hashing passwords is not enough. Without a salt, attackers can use precomputed tables of common passwords and their corresponding hashes, known as rainbow tables, to quickly crack the passwords....

Log in to view the answer



Redundant Elements