# Adding Salt to Hashing: A Better Way to Store Passwords ![rw-book-cover](https://images.ctfassets.net/23aumh6u8s0i/4yFFhrv84h4gHjPfu6einn/6726008fb75e55f96edca7636c0eb8c3/adding-salt-to-hashes) ## Metadata - Author: [[Auth0 - Blog]] - Full Title: Adding Salt to Hashing: A Better Way to Store Passwords - Category: #articles - Summary: Adding salt to passwords creates unique hashes, making it harder for attackers to guess or crack them. This is crucial because many users reuse passwords, and identical hashes can reveal weaknesses in security. To protect against attacks, unique and random salts should be used for each password. - URL: https://auth0.com/blog/adding-salt-to-hashing-a-better-way-to-store-passwords/ ## Highlights - Salting hashes sounds like one of the steps of a hash browns recipe, but in cryptography, the expression refers to adding random data to the input of a hash function to guarantee a unique output, the **hash**, even when the inputs are the same. ([View Highlight](https://read.readwise.io/read/01js5z7fdw1r3ca1k3hydkekwv))