Brute-force attacks
A brute-force attack ignores clever tricks and simply 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.
Trying every combination on a padlock, starting from 0000.
- 40-bit About 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 workstations Left traces in software that caused attacks in 2015.
- 56-bit DES About 72 quadrillion possible keys. The US standard cipher from 1977. Record: 56 hours in 1998, on a $250,000 machine Retired in favour of AES.
- 64-bit About 18 billion billion keys, 256 times as many as DES. Record: About five years of volunteer computing, finished in 2002 Too short for anything that matters today.
- 128-bit AES About 3.4 × 10^38 keys: 18 billion billion times as many as 64-bit. Record: No known way, even with all the world's computers Grover's algorithm would still leave it far out of practical reach.
- 256-bit AES Recommended where data must stay secret for decades. Record: Beyond reach, even with a quantum computer The default in many government systems.
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.
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
- How secure is 256 bit security?3Blue1Brown, video
Related terms
Cite this page Encryption Observer, “Brute-force attacks”, encryption.observer/terms/brute-force/, checked December 2026.