The Bifid Cipher is a classical polygraphic cipher developed by Félix Delastelle in the early 20th century. It combines a Polybius (Square) Cipher with transposition to create a system that diffuses plaintext letters across multiple ciphertext symbols. By splitting and recombining the coordinates of each letter in a Polybius square, the Bifid Cipher mixes the order of characters, increasing resistance to frequency analysis compared to simpler substitution ciphers such as the Simple Substitution Cipher.
Unlike monoalphabetic ciphers, the Bifid Cipher is polygraphic: it operates on multiple letters at once. The combination of substitution (via the Polybius square) and transposition (reordering digits) provides both confusion and diffusion, two principles essential for effective encryption.
Bifid Cipher: Encoding
To encode a message, first convert each letter to its row and column numbers in a 5x5 Polybius square (combining I/J into one cell). Then, write all row numbers in order followed by all column numbers. Finally, regroup numbers into pairs and map back to letters:
Plaintext: H E L L O
5x5 Grid (I/J combined):
1 2 3 4 5
1: A B C D E
2: F G H I K
3: L M N O P
4: Q R S T U
5: V W X Y Z
Polybius coordinates:
H = 2,3 E = 1,4 L = 3,3 L = 3,3 O = 3,5
Rows: 2 1 3 3 3
Columns: 3 4 3 3 5
Combine: 2 1 3 3 3 3 4 3 3 5
Group pairs: 21 33 33 44 35
Map back to letters: F N N V D
Ciphertext: FNNVDBifid Cipher: Decoding
Decoding reverses the process. Split the ciphertext letters into their numeric coordinates using the Polybius square, separate rows and columns, recombine them into pairs, and then convert back to letters:
Ciphertext: F N N V D
Numeric pairs: 21 33 33 44 35
Rows: 2 1 3 3 3
Columns: 3 4 3 3 5
Map back to letters using Polybius square: H E L L O
Plaintext: HELLOBifid Cipher: Notes
The Bifid Cipher demonstrates early attempts to combine substitution and transposition for stronger security. By spreading each plaintext letter across multiple ciphertext symbols, it resists simple frequency analysis more effectively than monoalphabetic ciphers. It is historically and conceptually related to the Bifid–Bacon Hybrid Cipher and the Polybius (Square) Cipher, highlighting the evolution of polygraphic encryption methods.