---
title: "Ciphers"
description: "Seventy-five ciphers in seventeen families. Each page has the options, the keyspace, the conventions and a vector you can check yourself."
canonical_url: "https://ciphers.agntn.dev/ciphers"
---
# Ciphers

> Seventy-five ciphers in seventeen families. Each page has the options, the keyspace, the conventions and a vector you can check yourself.

Every cipher answers `encode` and `decode` with the same `CipherResult`. What changes is the alphabet it works on, the options it needs, and the small decisions that make a puzzle answer reproducible - which letters share a cell, what happens to a doubled pair, whether a space survives. Those decisions are the part nobody documents, so each page here does.

<cipher-roster>



</cipher-roster>

## Three kinds

[Classical ciphers](https://ciphers.agntn.dev/ciphers/classical) work on letters and keep everything else in place. Caesar, Vigenère, Playfair, Morse, Enigma and friends. [Block ciphers](https://ciphers.agntn.dev/ciphers/block) work on bytes and answer in hex, from DES to Serpent with every AES mode on the way. [Stream ciphers](https://ciphers.agntn.dev/ciphers/stream) work on bytes too, but grow a keystream and XOR it in, no blocks and no padding. That's Rabbit, RC4 and XOR. Then Salsa20, ChaCha20 and their kin. Same `encode`, same `decode`, same `CipherResult`, but a very different idea of what the text is. Each kind has its own tab in the header, so the menu stays short however many ciphers join.

## What every page says

- The record at the top is read off `info()` in your browser, so it can't drift from the code. The full `ciphers_info` answer sits behind its last row.
- The options come with their defaults and what they do, then a vector you can check yourself, taken from the library, a standard or the original paper.
- The conventions a puzzle answer depends on, like which letters share a cell or what happens to a short last block, are spelled out instead of left for you to guess.


## Sitemap

See the full [sitemap](https://ciphers.agntn.dev/sitemap.md) for all pages.
