Salt is the additional random input that is added to password or passphrase to make the password hashA hash is a fixed-length code representing any length of words, messages, or data generated by a hashing algorithm. In... Read More unique. Salt prevents hashed output passwords from being cracked easily by hackers. When you salt a password, the function will be Hash (salt | password) instead of Hash (password).