Salted hash generator
Enter a text and a salt, choose whether the salt goes before or after the text, and get the hash in MD5, SHA-256 or any of 54 algorithms.
Popular salted hashes
Examples
| Text | Salt | MD5(text + salt) |
|---|---|---|
| password | salt | b305cadbb3bce54f3aa59c64fec00dea |
| 123456 | pepper | d533facdf5a481890c1e103534011ffb |
| admin | 1234 | c93ccd78b2076528346216b3b2f701e6 |
| hello | abc | 27426ed775bed2394cdde239d4e432a0 |
| test | xyz | c1c04d145fb30e2203943ea4f6fed1d4 |
| qwerty | s3cr3t | 5da3c123b9bb186c65dd0315125b2dfc |
| letmein | mysalt | 720518c498b7481d049e4bd0bb2eef95 |
| welcome | key | 25293437634d7250c7db2978e50d9ff2 |
| secret | !@# | e73193f97e4053db5e7e2d9613c9d44d |
| P@ssw0rd | _ | 9c90364f7ce33b4a439c18cc9351b39a |
| password1 | random | 76d6c80042b3f1a9b36a2487e24b0270 |
| abc123 | 2026 | a9f5d65bfacde8f5fab39b0441a9761b |
What is a salt?
A salt is a random value that is combined with a password before it is hashed. Without a salt, every user with the password 123456 has exactly the same hash, and attackers can look it up in a pre-computed (rainbow) table instantly. With a unique salt per user, identical passwords produce different hashes, so every password has to be attacked separately.
For example, MD5("password") is 5f4dcc3b5aa765d61d8327deb882cf99 – a hash that appears in every leaked-password list. Add the salt “x7Q” and the result, 405371e178d124f70a21517fdb904f7b, is no longer in any table.
Hash + salt or salt + hash?
Systems differ in where they put the salt. text + salt (suffix) computes hash(password . salt); salt + text (prefix) computes hash(salt . password). Some also use separators or hash twice, e.g. md5(md5(password) . salt) in older forum software. When you migrate users from a legacy database, reproduce the exact formula, check a few known accounts with this tool and then upgrade each password to a modern scheme at the next login.
Why a salt alone is not enough
MD5, SHA-1 and even SHA-256 are designed to be fast. A single modern GPU computes tens of billions of MD5 hashes per second, salt or no salt. Password storage needs a deliberately slow, memory-hard function:
- Argon2id – winner of the Password Hashing Competition, recommended by OWASP.
- bcrypt – battle-tested since 1999, the default of PHP’s
password_hash(). - scrypt and PBKDF2 – good choices where Argon2 is not available.
All of them generate and store a random salt for you.
All algorithms
- MD5
- SHA-1
- SHA-256
- SHA-512
- SHA-384
- SHA-224
- SHA3-224
- SHA3-256
- SHA3-384
- SHA3-512
- MD4
- MD2
- RIPEMD-160
- RIPEMD-128
- RIPEMD-256
- RIPEMD-320
- Whirlpool
- Tiger-192 (3 passes)
- Tiger-160 (3 passes)
- Tiger-128 (3 passes)
- Tiger-192 (4 passes)
- Tiger-160 (4 passes)
- Tiger-128 (4 passes)
- Snefru
- GOST R 34.11-94
- GOST (CryptoPro)
- HAVAL-256 (5 passes)
- Adler-32
- CRC32 (decimal)
- CRC32b
- CRC32C (Castagnoli)
- XXH3 (64-bit)
- xxHash64
- xxHash32
- XXH128
- MurmurHash3 (32-bit)
- MurmurHash3 (128-bit x64)
- FNV-1a (32-bit)
- FNV-1a (64-bit)
- Jenkins one-at-a-time
- HAVAL-128 (3 passes)
- HAVAL-160 (3 passes)
- HAVAL-192 (3 passes)
- HAVAL-224 (3 passes)
- HAVAL-256 (3 passes)
- HAVAL-128 (4 passes)
- HAVAL-160 (4 passes)
- HAVAL-192 (4 passes)
- HAVAL-224 (4 passes)
- HAVAL-256 (4 passes)
- HAVAL-128 (5 passes)
- HAVAL-160 (5 passes)
- HAVAL-192 (5 passes)
- HAVAL-224 (5 passes)
Guides
- What is a salt in password hashing?
- How to store passwords securely
- How to migrate MD5 passwords to bcrypt
Frequently asked questions
Is the salt secret?
No. A salt only has to be unique and unpredictable, and it is normally stored right next to the hash. A secret value kept outside the database is called a pepper.
Can a salted hash be reversed?
Not mathematically. If the salt is known, an attacker can still guess passwords one by one, which is why slow password hashing functions matter more than the salt itself.
Do you store what I type?
No database is used – results are calculated on the fly. The text and salt are part of the URL, so they can appear in browser history and standard access logs. Never enter real passwords.