Bifid Explained: The Fractionating Cipher That Split Every Letter in Two

Bifid explained in plain terms means understanding the cipher that splits every letter in two, a design from 1901 that hides each letter as a pair of coordinates and then shuffles the halves apart. The central question is why splitting letters should make a cipher any stronger, and the answer is that once the two halves of a letter travel separately, the frequency of single letters stops meaning anything, so the attacker’s favourite tool breaks, and that fractionation is the whole point of the design.

Bifid is a fractionating cipher invented by the French cryptographer Félix Delastelle and published in his 1901 book Traité Élémentaire de Cryptographie. It turns a message into ciphertext with a five-by-five Polybius square, and it is built on the idea that a letter is really two numbers, a row and a column, which means the design treats letters as coordinates first and letters second, and that shift is what makes it unusually strong for a hand cipher.

This article makes the case for Bifid, explains what it is, how it works, and where its ideas still earn their keep.

Key takeaways

  • Bifid is a fractionating cipher from 1901.
  • It was invented by Félix Delastelle of France.
  • It splits each letter into a row and a column.
  • It shuffles the coordinates in blocks called periods.
  • It is used in teaching and in cipher history today.

What Bifid is

Bifid is a cipher that turns a message into ciphertext by fractionation, and that splitting is what makes it unusual among classical ciphers. A sender writes each letter as two numbers from a Polybius square, then reads the numbers off in a new order, which means the two halves of one letter end up paired with halves of other letters, and that mixing is what destroys the frequency patterns attackers rely on.

Its signature feature is the Polybius square. Most ciphers work on letters directly, but Bifid works on coordinates, with 25 letters arranged in five rows of five and the letters I and J sharing a cell, which means every letter becomes a pair of digits from one to five, and because the square is the key, changing it changes the whole cipher.

The design was a reaction to the weakness of simple substitution. A cipher that swaps one letter for another keeps the frequency of the language intact, so Delastelle broke the letters apart, because a cipher that hides letters inside pairs of numbers gives frequency analysis nothing to count, and that insight is what made Bifid a landmark.

It became one of the best-known classical ciphers in the world, and it is named in every history of cryptography. Bifid was used by the French army during the First World War, it is taught in cipher courses as the classic fractionating design, and it is still the first example students meet when they learn that a letter can be split, which means the design survives as a lesson even though nobody uses it for real secrets.

Its most famous property is the period. Bifid works in blocks of a chosen length, and the coordinates are shuffled only inside each block, which means a short period keeps the mixing gentle while a long period spreads it further, and because the period is part of the key, choosing it well is half the art of using the cipher.

Our guide to Playfair explains the other famous Polybius-square cipher, and our guide to ADFGX explains a wartime cipher that fractionated letters too.

How Bifid works

Everything starts with the square, a five-by-five grid filled with the alphabet in a keyed order. Bifid places 25 letters in the grid, with I and J sharing one cell, which means every letter has a row number and a column number, and because the order of the letters is the secret, the square itself is the key.

Each block begins with the coordinates, written out in two rows beneath the message. The sender writes the row number of each letter in the first row and the column number in the second, which means a block of letters becomes two lines of digits, and because the digits are written vertically in pairs, the block is ready to be shuffled.

The shuffle is what makes the design work as a whole. Bifid reads the two rows of digits horizontally, left to right, and then pairs them off again, which means the first digit of one letter joins the second digit of another, and because the pairs are re-formed from a single stream, the letters that come out are entirely new.

The period spreads the effect further. A period of five shuffles only five letters at a time, while a period of twenty shuffles twenty, which means longer periods mix the coordinates more thoroughly, and because the period can be any length, the sender chooses how far the diffusion should reach.

The decryption is what keeps the design usable. The recipient writes the ciphertext coordinates in a single row, splits them back into two rows, and reads the pairs vertically, which means the process runs in reverse, and because the square is shared, the plaintext comes back letter by letter.

The ciphertext comes from the square, read out letter by letter in order. Bifid outputs one ciphertext letter per plaintext letter, which means the message keeps its length, and that fixed length is exactly what a classical cipher was expected to preserve.

A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it
A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it, shows how Bifid works: letter halves take turns through the square, pair after pair, until ciphertext emerges.

Comparing Bifid with other classical ciphers

Bifid is one of several classical ciphers built on the Polybius square, and each was built with a different emphasis. Playfair is the digraph cipher that swaps letter pairs in the same square, Trifid is Delastelle’s later cipher that splits letters into three parts, and Bifid is the one that splits letters into two coordinates and shuffles them in blocks, while each approach trades something for something else.

The table below sets out the main contrasts between the leading approaches.

Aspect Bifid Playfair Trifid
Split Two coordinates None, uses pairs Three coordinates
Square Five by five Five by five Three by three by three
Period Yes, blocks No Yes, blocks
Year 1901 1854 1901
Best for Teaching fractionation General classical use Teaching cubes

The practical result is that Bifid is the right choice for teaching fractionation, Playfair suits general classical use, and Trifid fits teaching cubes instead.

Where Bifid is used

Teaching uses it as the fractionation example. Cryptography courses introduce Bifid when they explain that a letter can be split, because it is the clearest case of the idea in a hand cipher, and a student who understands Bifid understands why diffusion matters in every modern cipher.

Military history uses it to tell the story of the First World War. The French army’s use of Delastelle’s ciphers shows how hand ciphers carried real battlefield traffic, and Bifid is remembered wherever that story is told, which means it survives as history as well as a working cipher.

Puzzle books use it to raise the difficulty. A puzzle that uses Bifid cannot be solved by counting single letters, because the letters have been taken apart, and that extra step is the reason puzzle setters reach for it when substitution feels too easy.

Software libraries use it as a test case. A library that implements classical ciphers usually includes Bifid beside Playfair, because the two share a square and differ only in method, and that pairing is the reason the cipher still appears in modern code.

Amateur cryptographers use it for fun. Hobbyists who enjoy hand ciphers pick Bifid when they want something stronger than substitution but still doable with pencil and paper, because the coordinate shuffle feels clever, and that cleverness is the reason it still appears in cipher challenges.

Strengths and limits

The greatest strength of Bifid is its fractionation. A cipher that splits letters destroys single-letter frequencies, and that strength is real, measured in the decades of respect the cipher has enjoyed and confirmed by the analysts who needed new methods to attack it.

It is also a strength that the design is built from familiar parts. A square, a period and a shuffle are easy to explain and easy to use by hand, and that simplicity is worth more than cleverness in a field where a cipher nobody can use by hand is a cipher nobody remembers.

The limits are real, though, and the biggest is that longer periods are hard to use by hand. A period of twenty means shuffling forty digits without error, which means mistakes creep in, and a system that needs real security must use a modern cipher instead.

Bifid checklist

  • Use Bifid for teaching and puzzles, never for real secrets.
  • Remember each letter becomes a row and a column.
  • Choose a keyed square, never the plain alphabet.
  • Compare it with Playfair to see the square used twice.
  • Note the period controls how far the mixing reaches.
  • Keep the I and J merger in mind when decrypting.
  • Try a short period first, then a longer one.
  • Never rely on a hand cipher for anything important.
  • Choose a modern cipher for any message that matters today.

Frequently asked questions

What is Bifid in simple terms?

It is a 1901 cipher that writes each letter as two numbers from a five-by-five square, shuffles all the numbers, and reads them back as new letters.

Who invented Bifid?

Félix Delastelle, a French cryptographer who published it in his 1901 book Traité Élémentaire de Cryptographie.

How is Bifid different from Playfair?

Both use a five-by-five square, but Playfair swaps pairs of letters while Bifid splits each letter into two coordinates and shuffles them in blocks.

Is Bifid still secure?

No, it falls to modern analysis and to careful frequency work on the coordinates, so it is only safe for teaching, puzzles and history.

Where is Bifid used?

In cryptography courses, in First World War history, in puzzle books, and in cipher software libraries.

When should I use Bifid?

When you teach fractionation, when you set a harder puzzle, or when you want a hand cipher with real diffusion.

The bottom line

Bifid explained in one line is this: the cipher that split every letter in two, a 1901 design that hid letters inside pairs of numbers and taught cryptography that diffusion beats substitution.

It is proof that taking things apart can make them stronger, and the reason it still matters is that every modern cipher designed since has been judged partly by the lesson Bifid taught.

This article is general information about how Bifid works, not advice about choosing encryption for a particular device or system.

Latest articles

Scroll to Top