MicrolearnENPTES

How big should a key be?

Lesson 8 of 20 · Cipher.Micro

56 bits fell in 1998; 128 bits will outlast the Sun.

128 (AES-128) bits 3.91 × 10^11 × the age of the universe

256 (AES-256) bits 1.33 × 10^50 × the age of the universe

A key of n bits has 2^n values. 40-bit keys, once legal for export, can be searched in minutes today.

Going from 56 to 57 bits makes brute force…

Do it in the browser: a real cryptography tool, a short mission and instant feedback. No install.

Start this lesson — free
← Brute force and passwordsHash functions →

All lessons · Cipher.Micro