Bifid cipher
The Bifid cipher splits every letter into two coordinates from a keyword square, mixes the coordinates of neighbouring letters together, and turns them back into letters. Every cipher letter depends on two message letters.
A little history
The French amateur cryptographer Félix Delastelle described the Bifid cipher around 1901, in a book on cryptography published shortly after his death. He never held an official post, but his ciphers combined substitution and transposition in such a neat way that they're still a favourite of puzzle setters and cipher enthusiasts.
How it works
- Build a 5 × 5 keyword square, as in Playfair.
- Write each message letter's row number on one line and its column number on a second line.
- Read the numbers across the first line and then the second, and take them two at a time as new row-column pairs.
- Look each pair up in the square to get the cipher letters.
| 1 | 2 | 3 | 4 | 5 | |
|---|---|---|---|---|---|
| 1 | C | R | A | N | E |
| 2 | B | D | F | G | H |
| 3 | I/J | K | L | M | O |
| 4 | P | Q | S | T | U |
| 5 | V | W | X | Y | Z |
SPIESTISCXEach cipher letter is built from the halves of two different message letters, so changing one message letter changes two cipher letters.
How to crack it
Bifid is much harder to break by hand than Playfair, because no cipher letter maps neatly to any message letter. Codebreakers work on the square itself: guess part of the message, work out which coordinates it would produce, and test whether a square can satisfy them all. Short messages give very little to work with.
Bifid in Cyrune
A single wrong letter in the keyword scrambles two letters of the message, so partial decodes are rare. Pin what you know from your guesses, then press Test keywords and read through the squares that fit.
Related ciphers
- Playfair cipher ★★★★★
- Polybius square ★★★★☆
- ADFGVX cipher ★★★★☆