Playfair Cipher

Key

Playfair Cipher is a manual symmetric encryption technique and was the first literal digram substitution cipher. The scheme was invented in 1854 by Charles Wheatstone, but bears the name of Lord Playfair for promoting its use.


The technique encrypts pairs of letters (bigrams or digrams), instead of single letters as in the simple substitution cipher and rather more complex Vigenère cipher systems then in use. The Playfair cipher is thus significantly harder to break since the frequency analysis used for simple substitution ciphers does not work with it. The frequency analysis of bigrams is possible, but considerably more difficult. With 600 possible bigrams rather than the 26 possible monograms (single symbols, usually letters in this context), a considerably larger cipher text is required in order to be useful. [Wikipedia]


The Playfair is significantly harder to break since the frequency analysis used for simple substitution ciphers does not work with it. Frequency analysis can still be undertaken, but on the 25*25=625 possible digraphs rather than the 25 possible monographs. Frequency analysis thus requires much more ciphertext in order to work.


It was used for tactical purposes by British forces in the Second Boer War and in World War I and for the same purpose by the Australians during World War II. This was because Playfair is reasonably fast to use and requires no special equipment. A typical scenario for Playfair use would be to protect important but non-critical secrets during actual combat. By the time the enemy cryptanalysts could break the message the information was useless to them.


Featured Tools

Featured tools that you might find useful.

Popular Tools

List of popular tools that users love and frequently use.

New Tools

The latest tools added to our collection, designed for you.

Topics

The tools grouped by topics to quickly find what you need.
ChaCha Cipher is a stream cipher designed by Daniel J. Bernstein. It is a variant of the Salsa stream cipher. Several parameterizations exist; 'ChaCha' may refer to the original construction, or to the variant as described in RFC-8439.

ChaCha Cipher

ChaCha Cipher is a stream cipher designed by Daniel J. Bernstein. It is a variant of the Salsa stream cipher. Several parameterizations exist; 'ChaCha' may refer to the original construction, or to the variant as described in RFC-8439.
LS47 Cipher is a slight improvement of the ElsieFour cipher as described by Alan Kaminsky. It use 7x7 characters instead of original (barely fitting) 6x6, to be able to encrypt some structured information. It also describe a simple key-expansion algorithm, because remembering passwords is popular.

LS47 Cipher

LS47 Cipher is a slight improvement of the ElsieFour cipher as described by Alan Kaminsky. It use 7x7 characters instead of original (barely fitting) 6x6, to be able to encrypt some structured information. It also describe a simple key-expansion algorithm, because remembering passwords is popular.
RC2 (also known as ARC2) is a symmetric-key block cipher designed by Ron Rivest in 1987. 'RC' stands for 'Rivest Cipher'.

RC2 Cipher

RC2 (also known as ARC2) is a symmetric-key block cipher designed by Ron Rivest in 1987. 'RC' stands for 'Rivest Cipher'.
Characters Escape & Unescape can escapes special characters in a string so that they do not cause conflicts, and unescapes Characters in a string that have been escaped.

Characters Escape & Unescape

Characters Escape & Unescape can escapes special characters in a string so that they do not cause conflicts, and unescapes Characters in a string that have been escaped.