Skip to main content


Home Salting

Salting

Salting definition

Salting is adding a random piece of data to a password or a passphrase before running it through a hashing algorithm.

Salting example

If two users create the same password “window,” their hash output would be the same. With a salt, their passwords would look different. For example, “window#16g!” and “window*7bh$9&” will have different hash outputs.