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 256-Bit Encryption Is Unbreakable

There are more 256-bit keys than atoms in the universe.

AES-256 encryption uses a key that’s 256 bits long. The number of possible keys is 2²⁵⁶ — a number so vast that brute-forcing it would take longer than the age of the universe.

The Key Space

2²⁵⁶ ≈ 1.16 × 10⁷⁷. The observable universe has roughly 10⁸⁰ atoms. So the number of possible keys is in the same ballpark as atoms in the universe.

2256≈1.16×10772^{256} \approx 1.16 \times 10^{77}

Time to brute-force at 1 billion keys/second

  1. 1

    Keys per year

    109×3.15×107≈3.15×101610^9 \times 3.15 \times 10^7 \approx 3.15 \times 10^{16}
  2. 2

    Years needed

    1.16×10773.15×1016≈3.7×1060\frac{1.16 \times 10^{77}}{3.15 \times 10^{16}} \approx 3.7 \times 10^{60}
Answer

About 3.7 × 10⁶⁰ years — trillions of trillions of times the age of the universe

The takeaway

256-bit encryption is safe because the key space is astronomically large — literally on the scale of atoms in the universe.

Back to all stories