Find adventure
My adventures Online Events Kits Boxes Challenges Shows Services Pages
Privacy Policy Terms of Use Sponsors About Contacts FAQ Pages Services Shows Boxes Kits Online Events My adventures

What is Bifid cipher?

In classical cryptography, the bifid cipher is a cipher which combines the Polybius square with transposition, and uses fractionation to achieve diffusion.

 

First, a mixed alphabet 5x5 Polybius square is drawn up, where the I and the J share their position:

 

 12345
1

A

BCDE
2FGHI/JK
3LMNOP
4QRSTU
5VWXYZ

 

The message "SECRETMESSAGE" is converted to its coordinates in the usual manner (Row-Column), but instead of writting them horizontally, they are written vertically beneath:

 

SECRETMESSAGE
4114143144121
3532542533125

 

Then they are then written out in pairs horizontally:

 

41 14 14 31 44 12 13 53 25 42 53 31 25

 

Then those pairs are turned back into letters using the same Polybius square:

 

QDDLTBCXKRXLK

 

In this way, each ciphertext character depends on two plaintext characters. To decrypt, the procedure is simply reversed.