bit
The smallest unit of information: the answer to one yes-or-no question, or one binary digit. Everything else in this type is a count of bits, and the bit is what security strengths, entropy figures and network rates are ultimately measured in.
Watch out: A bit is not a byte, and the abbreviation is where money changes hands. Network rates are quoted in bits per second and storage in bytes, so a 100 Mbit/s connection delivers about 12.5 MB/s at best — the factor of eight is not a rounding error and it is not marketing sleight of hand either, it is two trades using two units with almost the same name.
| 1 | 0.125 |
Shannon defined information mathematically in 1948 and used the word "bit", crediting John Tukey with the contraction of "binary digit". Shannon's insight was that information is measured by how much uncertainty it removes: a message that tells you something you already knew carries none, however many characters it uses.
About the bit
A bit is one binary decision. Eight of them make a byte, which is enough to distinguish 256 things, which is why a byte held one character for most of computing history.
The useful thing to carry is that bits count doublings. Each bit added doubles the number of distinct values: 8 bits gives 256, 16 gives 65,536, 32 gives about 4.3 billion. That is why key sizes are quoted in bits — a 128-bit key is not twice a 64-bit key, it is 2⁶⁴ times as many keys, which is about 18 quintillion times.
That doubling is also why bits of security strength can never be a unit conversion on this site. Going from bits to a number of keys is 2ⁿ, an exponential, and the conversion engine here multiplies and adds — it cannot raise to a power. So the relationship lives in a formula, in the same way a decibel does. A unit that pretended to convert 128 bits into 3.4 × 10³⁸ keys would be lying about what kind of relationship it is.
Shannon's other contribution matters for anyone computing password strength: the bits in an entropy figure describe how a value was chosen, not what it looks like. Eight random bits are eight bits of entropy. Eight bits that always spell the same letter are none.
One bit in every information unit
| 1 | bit (bit)this unit | |
| 0.125 | byte (B) | |
| 0.001 | kilobit (kbit) | |
| 0.000001 | megabit (Mbit) | |
| 1.00000e-09 | gigabit (Gbit) | |
| 1.00000e-12 | terabit (Tbit) | |
| 0.000125 | kilobyte (kB) | |
| 1.25000e-07 | megabyte (MB) | |
| 1.25000e-10 | gigabyte (GB) | |
| 1.25000e-13 | terabyte (TB) | |
| 0.00012207 | kibibyte (KiB) | |
| 1.19209e-07 | mebibyte (MiB) | |
| 1.16415e-10 | gibibyte (GiB) | |
| 1.13687e-13 | tebibyte (TiB) |