I'm getting really confused reading about this. I understand this makes brute force attacks harder, but as a coder how do I use salt to protect my passwords.
Do I salt the password while I'm running it through sha1, say:
sha1($salt.password)
Then store both the salt & password in the DB, so when the user logs in I have to get the salt from the DB to match it? If I do that though, how is that helping?
Thanks