The Playfair cipher was invented in 1854 by Charles Wheatstone, but named after lord Playfair who heavily promoted the use of the cipher. It is a polygraphic substitution cipher, which encrypts pair of letters instead of single letters. This makes frequency analysis much more difficult, since there are around 600 combinations instead of 26.

Playfair cipher

Translate this letter into

Padding/filler character

Pad double-letters?

Translation grid

Features

Playfair ciphers, and variants of it, are occasionally used in CTFs, geocaching mystery caches, and logic puzzles.

Sample text

NCBDQBGRKNAQHPNTNQUN

The ciphertext above represents "SIR CHARLES WHEATSTONE" encrypted using the key PLAYFAIR.

See also: Code-Breaking tools | Adfgvx cipher | Adfgx cipher | Affine cipher | Atbash cipher | Baconian cipher | Beaufort cipher | Bifid cipher | Caesar cipher | Columnar transposition | Cryptogram | Double transposition | Enigma machine | Four-square cipher | Gronsfeld cipher | Keyed caesar cipher | One-time pad | Pigpen cipher | Rail fence cipher | Rot13 | Route transposition | Substitution cipher | Trifid cipher | Variant beaufort cipher | Vigenere cipher