← All Tools

Playfair Cipher

The Playfair cipher was invented by Charles Wheatstone in 1854 and promoted by Lord Playfair. It encrypts pairs of letters (digraphs) using a 5×5 key square, making it much harder to crack with simple frequency analysis than a single-letter substitution. It was used by British forces during the Boer War and both World Wars.

letters 0 digraphs 0 padding inserted 0

Key Square

Built from the keyword with duplicates removed, then filled with the remaining alphabet.

Digraph Breakdown

Rules