Salting is a process for adding random data to a password or other data to protect the data from a brute force attack usually prior to performing a one way hash on the data. This is a means of mitigating a dictionary attack or a brute force attack.
There is an MD5 salting technique which may be used to make it more difficult for sniffers to eavesdrop on passwords or their hashed values.
MD5 salted hash technique
- The server sends a large random number to the client when the logon page is requested.
- The user enters their password.
- The large random number and hash are transmitted to the server.
- The server reads the hash of the user password from the database and appends the large random number to it.
- The server creates a hash from the result in the above step and compares it to the received hash from the client