Hash / Password Cracking Playground
See, in your own browser, why a weak password falls in seconds and a strong one does not. Type a short word, watch it turn into a hash, add a salt and watch the hash change completely — then take the 8-question quiz and learn to spot the attack behind each weak password.
⚠ TEACHING DEMO — not a cracking tool. Nothing on this page cracks a real password, recovers a password from a hash, or tries anyone else's credentials. It shows why weak passwords fall fast so you can defend against it — the same lesson Security+ and PenTest+ test. Never enter a real password you actually use, and never try these ideas on a system you do not own.
Part 1 — Hash Explorer
A hash is a one-way fingerprint of some input: the same input always gives the same hash, a tiny change gives a completely different hash, and you cannot turn the hash back into the input. That is why systems store hashes, not passwords — and why a fast hash is a bad password hash: an attacker who steals the hashes can simply guess, hash, and compare, millions of times a second.
Hash:
—
Change one letter — the avalanche effect:
—
Same hash type, one letter different, totally different hash. That is what makes a hash a fingerprint — and it is also why an attacker cannot work backwards from a hash to the word.
Add a salt — watch the hash change
A salt is a random value, unique to each password, mixed in before hashing. Two users with the same password then get completely different hashes, and precomputed rainbow tables stop working. The salt is not secret — it is stored next to the hash — its job is uniqueness, not secrecy.
Salted hash — hash(salt + word):
—
Same word, two different salts:
| Salt | Hash |
|---|---|
| — | — |
| — | — |
Identical word, identical hash type — two different hashes, because the salt is different. That is the whole point of salting.
Work-factor comparison — why speed is the enemy
For a file checksum, fast is good. For a password, fast is a gift to the attacker. A password hash should be deliberately slow, so each guess costs the attacker real time. The figures below are approximate teaching figures — orders of magnitude for a modern GPU, not measured benchmarks — included so you can feel the gap, not quote them as exact speeds.
| Hash | Size | Speed per guess (approx. teaching figure) | Fit for passwords? |
|---|---|---|---|
| MD5 | 128-bit | Billions per second on a GPU | No — fast and broken for passwords; use only as a checksum |
| SHA-1 | 160-bit | Billions per second on a GPU | No — deprecated; fast and collision-prone |
| SHA-256 | 256-bit | Billions per second on a GPU | No, on its own — a strong general hash, but still far too fast for passwords |
| NTLM (MD4) | 128-bit | Billions per second on a GPU | No — fast, unsalted, and MD4 is broken; a stolen NTLM hash is cracked quickly |
| bcrypt | 184-bit salted hash* | Only thousands per second on a GPU — roughly a million times slower than MD5 | Yes — deliberately slow, with an adjustable cost factor: raise the cost and each guess gets slower |
| Argon2 | Configurable | Only thousands per second — and it also costs memory, which GPUs cannot cheaply parallelise | Yes — the modern recommendation; slow in time and memory |
* bcrypt's stored hash is 184 bits of output plus a 128-bit salt and a cost factor. The exact bit count matters less than the design: the cost factor lets defenders make guessing slower as hardware gets faster, while MD5 and SHA-256 cannot be slowed down.
The defender's rule: hash passwords with a slow, salted, purpose-built password hash (bcrypt or Argon2) with a unique salt per password. Never store a plain MD5, SHA-1, SHA-256 or NTLM hash of a password — those are built for speed, and speed is exactly what the attacker wants.
Part 2 — “Crack This” Quiz: match the weak password to why it falls
Eight questions, graded instantly with an explanation after each one. Each weak password below falls to a different attack — or, in one case, to none of them. Work out which attack, and why.
Your score: 0 / 8
Answer all 8 questions to see your result.
Key facts to remember for the exam
- Hashing is one-way; encryption is two-way. A hash cannot be decrypted — the only way to “crack” one is to guess the input and hash it again. Encryption can be reversed with the key.
- MD5 is 128-bit, fast, and broken for passwords. SHA-1 is 160-bit and deprecated. Neither belongs in password storage.
- A salt must be unique per password and defeats rainbow tables. A salt shared by every user, or no salt at all, does not.
- NTLM uses MD4 of the UTF-16LE password — no salt, fast, and weak. That is why stolen NTLM hashes (pass-the-hash, hash-cracking) are a classic PenTest+ topic.
- Dictionary attack: tries wordlists — common passwords, names, and words with predictable tweaks. Brute force: tries every combination — its cost is the size of the search space (266 for a 6-letter lowercase password). Rainbow tables: precomputed hash chains that only work on unsalted hashes. Credential stuffing: tries username/password pairs stolen from one breach on other sites, betting the victim reused them.
- bcrypt is deliberately slow with an adjustable cost factor — that slowness is the feature. Argon2 adds a memory cost on top.
- Defence in one line: long, random, unique passwords (or passphrases) + a slow salted password hash + multi-factor authentication, so a stolen hash alone is not enough.
Password attacks are on Security+ and PenTest+
Try the free 30-question samples and see where you stand — hashing, salting, and attack types all show up on exam day.
Free Security+ SampleFree PenTest+ Sample