Cipher methods Polyalphabetic
Trithemius cipher
The first polyalphabetic cipher in history: a shift that grows by one with every letter. No key — the scheme itself is the key.
- Family :
- Polyalphabetic
- Difficulty :
- Intermediate
- Era :
- 1508, Johannes Trithemius
- Inventor :
- Johannes Trithemius
Also known as : Trithemius · tabula recta
The Trithemius cipher (or tabula recta) was described by the Benedictine abbot Johannes Trithemius in Polygraphiae libri sex in 1508 — the first book entirely devoted to cryptography. His idea was revolutionary for its time: use a different alphabet at every letter. That’s the birth of polyalphabetic encryption.
Principle
Trithemius has no key per se — the ordering itself is the key. Each position i in the text applies a shift of i:
C_i = (P_i + i) mod 26
Position 0 leaves the letter alone (shift 0). Position 1 shifts by 1. Position 2 by 2. And so on. After 26 letters, the shift wraps.
The mechanism is implemented with the tabula recta: a 26×26 table where row i is the alphabet shifted by i. To encrypt the letter at position i, take row i and the column of the plaintext letter.
Example
Plaintext CIPHERCHRONICLE:
Pos 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Plai C I P H E R C H R O N I C L E
Shft 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14
Ciph C J R K I W I O Z X X T O Y S
Result: CJRKIWIOZXXTOYS. Notice the initial letter stays C — a distinctive signature.
Weaknesses
- No key: the method alone suffices to decrypt. This is security by obscurity, useless against anyone who knows the scheme.
- Visible signature: if the attacker knows the text likely begins with a common letter (
Tin English,Lin French), the first cipher letter immediately gives away the method. - Brute force over starting alignment: even if the attacker doesn’t know where the message begins, there are only 26 starting positions to try.
Variants
- Vigenère cipher — Trithemius + arbitrary key.
- Beaufort cipher — involutive version.
- Progressive Caesar — same idea with a non-zero starting shift.
In CipherChronicle
Trithemius is a historical curiosity: the first cipher to use multiple alphabets, founding the whole of modern cryptography that follows. Grids built on it can lean on its distinctive signature (first letter equal to plaintext) to invite quick detection from the player.
Grid
- 1
Ciphertext
First letter unchanged, then a progressively growing shift.
- 2
Observation: the first letter equals the plaintext
A shift of 0 at position 0 leaves the letter alone — a Trithemius signature.
- 3
Hypothesis: shift +1 per position
At each position i, a +i shift is applied, no key required.
- 4
Apply the inverse shifts
Position 0 → −0, position 1 → −1, position 2 → −2, and so on.
- 5
Message revealed
The plaintext appears once the descending shifts are applied.