Encryption Observer

Glossary The basics

Brute-force attacks

A brute-force attack ignores clever tricks and tries keys or passwords one after another. Good encryption makes the number of possibilities so huge that this would take longer than the age of the universe.

Think of it like this

Trying every combination on a padlock, starting from 0000.

Try it: how long to try every key?

Pick a key length and a guessing speed. Each extra bit doubles the number of keys.

Guesses per second

Why it matters

Every key length has to be long enough to make brute force hopeless, and short passwords fail that test.

Where you meet it

Password-guessing against online accounts, and cracking stolen password files.

Key length against brute forceBroken by trying every keyBeyond any known computerEvery extra bit doubles the work, which is why 56-bit keys fell and 128-bit keys are out of reach.
  1. 40-bitAbout a trillion possible keys. The 'export-grade' size US rules forced on software sold abroad in the 1990s. Record: Cracked in about 8 days in 1995 on about 120 French research workstationsLeft traces in software that caused attacks in 2015.
  2. 56-bit DESAbout 72 quadrillion possible keys. The US standard cipher from 1977. Record: 56 hours in 1998, on a $250,000 machineRetired in favour of AES.
  3. 64-bitAbout 18 billion billion keys, 256 times as many as DES. Record: About five years of volunteer computing, finished in 2002Too short for anything that matters today.
  4. 128-bit AESAbout 340 trillion trillion trillion keys: 18 billion billion times as many as 64-bit. Record: No known way, even with all the world's computersGrover's algorithm would still leave it far out of practical reach.
  5. 256-bit AESRecommended where data must stay secret for decades. Record: Beyond reach, even with a quantum computerThe default in many government systems.
Go deeper history and technical detail

Each extra bit of key doubles the work. 56-bit DES fell to brute force in 1998, while 128-bit keys are far out of reach of all the world's computers combined. Grover's algorithm would let a quantum computer search faster, but only by a square root, so 256-bit keys remain comfortably safe.

Read or watch next

Related terms

Cite this page Encryption Observer, “Brute-force attacks”, encryption.observer/terms/brute-force/, checked December 2026.