Top Qs
Timeline
Chat
Perspective

Bifid cipher

Encryption system From Wikipedia, the free encyclopedia

Remove ads

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

Summarize
Perspective

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

12345
1 BGWKZ
2 QPNDS
3 IOAXE
4 FCLUM
5 THYVR

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

More information F, L ...

They are then read out in rows:

44333532431355312325

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

44333532431355312325
UAEOLWRINS

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

To decrypt, use the same Polybius square. Convert the ciphertext to its coordinates in the usual manner, but keep it written in a single row.

More information U, A ...
44333532431355312325

Find the midpoint of the row.

4433353243X1355312325

Take all of the digits to the right of the midpoint and move them to a second row directly below the first.

Convert these vertical pair coordinates to find the plaintext.

More information F, L ...


Longer messages are first broken up into blocks of fixed length, called the period, and the above encryption procedure is applied to each block. One way to detect the period uses bigram statistics on ciphertext letters separated by half the period. For even periods, p, as in the example above (p=10), ciphertext letters at a distance of p/2 are influenced by two plaintext letters (e. g., U and W are influenced by F and L), but for odd periods, p, ciphertext letters at distances of p/2 (rounded either up or down) are influenced by three plaintext letters. Thus, odd periods are more secure than even against this form of cryptanalysis, because it would require more text to find a statistical anomaly in trigram plaintext statistics than bigram plaintext statistics.[1]

Remove ads

See also

References

Loading related searches...

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads