Real World Maths Busters

The Maths Behind Everyday Life

The story, the formula and a worked example — see exactly where this maths shows up in the world around you.

Back to all stories
Technology 3 min read

Why a longer password beats a weirder one

Adding letters crushes a hacker far faster than sprinkling in symbols.

We are told to make passwords "complex" with symbols and numbers. But the single biggest thing you can do is make them longer. The reason is an exponent: every extra character multiplies the number of guesses an attacker must try.

Every character multiplies the guesses

If a password uses an alphabet of aa possible characters and is LL characters long, the number of possible passwords is aLa^L. Length LL sits in the exponent, so it is far more powerful than growing the alphabet aa.

N=aLN = a^{L}

Possible passwords = alphabet size raised to the length

Short-and-weird vs long-and-simple

Compare a gnarly 8-character password using all 62 letters and digits against a plain 12-letter lowercase phrase.

8 complex characters vs 12 simple ones

  1. 1

    8 chars, 62 symbols each

    628≈2.2×101462^{8} \approx 2.2 \times 10^{14}
  2. 2

    12 chars, 26 lowercase each

    2612≈9.5×101626^{12} \approx 9.5 \times 10^{16}
  3. 3

    The simple-but-long one wins

    The all-lowercase 12-letter password has about 400 times MORE combinations than the short complex one.

Answer

Four little extra letters beat every symbol you could add. Length is king.

The takeaway

Because password strength grows as alphabet^length, stretching the length wins every time. A long passphrase of ordinary words beats a short jumble of symbols.

Back to all stories