Skip to content
CryptographyInternals

01 / 08 · Math basics

Bits and bytes

How a computer turns everything into 0s and 1s.

Every message, key and file a cipher touches is a long row of bits. Before anything else, it helps to see how letters become numbers and numbers become 0s and 1s.

off
off
→
01 bit

01 / 12 · Bits and bytes

Start with a light switch

A light switch has exactly two positions: off or on. Nothing in between. Scroll and watch it flip.