# Bifid cipher

In classical cryptography, the bifid cipher is a cipher which combines the Polybius square with transposition, and uses fractionation to achieve diffusion. It was invented around 1901 by Felix Delastelle.

## Operation

First, a mixed alphabet Polybius square is drawn up:

```  1 2 3 4 5
1 B G W K Z
2 Q P N D S
3 I O A X E
4 F C L U M
5 T H Y V R
```

The message is converted to its coordinates in the usual manner, but they are written vertically beneath:

```F L E E A T O N C E
1 3 5 5 3 1 2 3 2 5
4 4 3 3 3 5 3 2 4 3
```

They are then read out in rows:

```1 3 5 5 3 1 2 3 2 5 4 4 3 3 3 5 3 2 4 3
```

Then divided up into pairs again, and the pairs turned back into letters using the square:

```13 55 31 23 25 44 33 35 32 43
I  R  W  O  H  U  A  Y  N  X
```

In this way, each ciphertext character depends on two plaintext characters, so the bifid is a digraphic cipher, like the Playfair cipher. To decrypt, the procedure is simply reversed.

Longer messages are first broken up into blocks of fixed length, called the period. Each block is then encrypted separately. Odd periods are slightly more secure than even periods.

 Classical cryptography edit  (https://search.academickids.com:443/encyclopedia/index.php?title=Template:Classical_cryptography&action=edit) Ciphers: ADFGVX | Affine | Atbash | Autokey | Bifid | Book | Caesar | Four-square | Hill | Permutation | Pigpen | Playfair | Polyalphabetic | Reihenschieber | Running key | Substitution | Transposition | Trifid | Two-square | Vigenère Cryptanalysis: Frequency analysis | Index of coincidence Misc: Cryptogram | Polybius square | Scytale | Straddling checkerboard | Tabula recta
nl:Bifid cijfer

• Art and Cultures
• Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
• Space and Astronomy