cipher.ink Write a message

Cipher encyclopedia

From Caesar to AES to post-quantum: how each cipher works, who made it, how it was broken, with a working example you can try.

Every entry follows the same plan: what the cipher is, a tool to try it, a worked example computed by the same code, who invented it and when, how it was broken (or why it wasn't), and where it stands today. Pick one from the groups below, or read down the page from the pen-and-paper systems to the post-quantum ones and watch the contest between the people who make ciphers and the people who break them play out again.

Classical ciphers

Pen-and-paper systems, from antiquity to the First World War.

Machine ciphers

Rotors, wheels and wartime codebreaking.

Modern symmetric ciphers

Block and stream ciphers, from DES to AES and ChaCha20.

Public-key cryptography

Locks anyone can close and only one person can open.

Post-quantum

What replaces RSA and elliptic curves if quantum computers arrive.