Random material utility
Salt Generator
Generate salts, nonces, and random key material with browser cryptography. Nothing is stored or sent to the server.
Generator
Output
Use Salts Wisely
Short reminders for choosing the right random material without sending anything anywhere.
Why use salts?
A salt gives each stored password its own random companion value. That way, two people using the same password should not leave the same stored fingerprint behind.
What is a salt?
A salt does not need to be hidden. Its job is to make stored password checks less predictable and less reusable across accounts.
Salt vs nonce
Use a salt when random material belongs beside stored data. Use a nonce when you need a fresh one-time value for a request, challenge, or session.
When to use longer output
Longer output is useful for token seeds, key material, and other workflows where the random value itself must carry more strength.
Best Practice
If you are storing passwords, do not build the hashing system by hand. Use a modern password hasher such as Argon2id, bcrypt, or scrypt and let it manage salts correctly.