07-31-2013, 05:57 AM
Cryptography. Hashes are a one-way method to encrypt information. Using a salt isn't necessary, but it does greatly increase the strength of the hash. Typically websites with logins will salt and hash a user's password so it can be stored safely. That way, even if it IS stolen, there's an extremely low chance of it being used.