“How long would it take to crack my password?” depends far less on the password than most people expect. It depends on how it’s being attacked. Here’s how cracking really works, in plain language.

Two very different situations

Online attacks: guessing through the front door

In an online attack, someone tries passwords against a live login page or app. Each guess is a real login attempt, so the service can see it and slow it down. Well-run services limit attempts, add delays, require CAPTCHAs, or lock accounts after repeated failures. Under those conditions an attacker might manage only around 100 guesses per hour, which is why even a moderately strong password survives online guessing.

Online attacks are still dangerous for very common passwords. Attackers often try a handful of the most popular passwords against huge numbers of accounts (a technique called password spraying), staying under lockout limits.

Offline attacks: cracking a stolen database

The bigger threat comes after a data breach. Responsible services don’t store your actual password. They store a hash, a one-way fingerprint computed from it. When you log in, the service hashes what you typed and compares fingerprints.

If attackers steal that database, they can guess offline on their own hardware: hash a guess, compare it to the stolen hashes, repeat. No login page, no lockouts, no alerts. The only limit is computing power, and how the site hashed the passwords.

Why the hash algorithm matters so much

Some hash functions are fast, like MD5, SHA-1 and the NTLM hashes used by older Windows systems. Fast is good for checksums and terrible for passwords. A single modern graphics card running cracking software can compute on the order of a hundred billion fast hashes per second.

Others are deliberately slow and memory-hungry: bcrypt, scrypt, and Argon2. They’re designed so each guess costs real time and memory. OWASP recommends Argon2id, scrypt or bcrypt for password storage, which can cut an attacker’s speed by millions of times compared with a fast hash.

Good sites also add a salt, a random value unique to each user, so identical passwords produce different hashes and attackers can’t crack everyone at once with precomputed tables.

You can’t see how a site stores your password, which is exactly why your password should be strong enough to survive the worst case.

How attackers choose their guesses

Brute force, trying every combination in order, is the last resort. Real cracking is smarter.

  1. Leaked password lists. Billions of real passwords from past breaches are freely available. The most common ones are tried first.
  2. Dictionary attacks. Words, names, places, sports teams, pop culture and phrases in many languages.
  3. Rules and mutations. Tools apply the tweaks people make: capitalize the first letter, add digits or ! at the end, swap a→@, o→0, e→3, append a year, reverse the word, double it.
  4. Combinations. Two dictionary words joined together, a word plus a date, a name plus a keyboard pattern.
  5. Masks. Patterns like “capital letter, five lowercase letters, two digits, one symbol”, the shape of many passwords made to satisfy composition rules.
  6. Targeted guesses. Details about a specific person from social media: pets, children, birthdays, favorite teams.
  7. Brute force on whatever space is left, which is only practical for short passwords.

This is why Summer2024! falls quickly even though it meets most complexity rules: it’s a dictionary word, a year and a symbol in the most predictable possible arrangement.

Credential stuffing: no cracking required

Often attackers don’t crack anything. They take email-and-password pairs leaked from one site and try them on others, such as email providers, banks, shopping sites and streaming services. If you reused the password, they’re in. This automated attack, credential stuffing, is one of the most common ways accounts are taken over, and the only defense on your side is a unique password for every account plus MFA.

What actually stops cracking

Defense Online guessing Offline cracking Credential stuffing Phishing
Long, random password ✓ ✓ – –
Unique password per site – Limits damage ✓ Limits damage
Multifactor authentication ✓ ✓ (for login) ✓ Partly (phishing-resistant MFA: ✓)
Password manager – – ✓ Helps: won’t autofill on fake sites

A long, randomly generated password defeats guessing, both online and offline. A unique password contains breaches. MFA covers the cases where the password itself is stolen.

Reading LavenderCipher’s crack-time estimates

The strength checker estimates how many guesses an attacker following the strategies above would need, then divides by four speeds: rate-limited online, unthrottled online, offline against a slow hash, and offline against a fast hash. The difference between those rows is the story of this article: the same password might hold for centuries against a login page and fall in seconds against a leaked database of fast hashes.

Those numbers are estimates, not promises. If a password has already been exposed, it can be used instantly. Check it with the breach checker.