Playfair
Playfair may refer to several subjects, most prominently in cryptography and statistics. In cryptography, the Playfair cipher is a manual symmetric-key cipher invented by Charles Wheatstone in 1854 and promoted by Lyon Playfair, 1st Baron Playfair. The cipher encrypts plaintext digraphs using a 5x5 matrix of letters, typically with I and J combined. To create the key square, a keyword is written in the square, omitting repeated letters, followed by the remaining letters of the alphabet. Encryption works on digraphs: for each pair, if the letters lie in different rows and columns, each is replaced by the letter in the same row but the column of the other letter; if in the same row, letters are shifted to the right; if in the same column, letters are shifted downward. The same method is used for decryption, reversing the shifts. The cipher was widely used in the 19th century and during early 20th century; today it is considered insecure against modern cryptanalysis.
William Playfair (1759–1823) was a Scottish engineer, political economist, and pioneer of statistical graphics. He is