Salt Demonstrator

EDUCATIONAL DEMONSTRATION ONLY — A salt is random data added to a password before hashing. This demonstration shows how the same password produces completely different hashes with different salts, defeating precomputed rainbow table attacks. Always use unique, random salts in production.

Privacy: this tool processes your data entirely in your browser. Nothing you paste or type is sent to the server.

Enter a password to hash with and without salt.

Random string added before hashing.

Result

Enter your values and press Calculate — the result appears here.

Worked examples

Compare with and without salt

  • password = mypassword
  • salt = abc123

Result: Two completely different hashes for the same password.

Frequently asked questions

What is a rainbow table?

A rainbow table is a precomputed lookup table of hashes for common passwords. Salting defeats this because each salted hash is unique.

How should I generate salts?

Use a cryptographically secure random number generator. Each user should have a unique salt. Typical salt length is 16+ bytes.

💬 Discuss on BestWordz Community

Join the conversation about Cybersecurity, password salt, salting on the BestWordz Community forum.

Visit Forum →
Copied!