Does salt hashing help?

I thought a lot about how to further protect my web application from brute force attacks and all security. I know that we can store our salt value in text form, and we still have good security.

Will there be a hash of our salt value, add more security to the web application or is it a waste of time and resources on the server?

+4
source share
3 answers

In the end, you must concatenate the password and salt value, so you need to have the original salt value. If you hash the salt value, you no longer have the original value, since hashing is a one-way function, so I don't think salt hashing would be useful (if I understood your question correctly).

+3
source

The purpose of the salt is to prevent hackers from accessing the password through pre-calculated rainbow tables. The only way to get the password then (assuming a good hashing algorithm is used) is brute force, which will be equally long if the salt is encrypted or not.

+2
source

, .

- , , .

If you haveh the salt and then use this salt hash to hash the password, you only exchange the salt. You will need to store the salt hash in the database, and it acts like the original salt. Time to hash the salt you spend better by doing more iterations when hashing passwords.

+1
source

Source: https://habr.com/ru/post/1539518/


All Articles