Playfair Cipher
Encrypt or decrypt text with the Playfair digraph cipher.
Note: The Playfair cipher encrypts pairs of letters (digraphs) using a 5x5 square built from a keyword. It merges I and J, inserts an X filler for repeated or trailing letters, and is not secure for modern use.
What Is a Playfair Cipher?
The Playfair Cipher tool encrypts and decrypts text using a 5x5 digraph (pair-of-letters) substitution built from a keyword. It was the first practical digraph cipher and was used by the British in World War I.
How to Use This Playfair Cipher
- 1Enter KeywordType a word used to build the 5x5 square.
- 2Enter TextType the plaintext or ciphertext.
- 3Choose DirectionClick Encrypt or Decrypt to transform the text.
Frequently Asked Questions
Related Cryptography Tools
MD5 Generator
Free online MD5 hash generator.
SHA-1 Generator
Free online SHA-1 hash generator.
SHA-256 Generator
Free online SHA-256 hash generator.
SHA-512 Generator
Free online SHA-512 hash generator.
SHA-224 Generator
Free online SHA-224 hash generator.
SHA-384 Generator
Free online SHA-384 hash generator.
More Cryptography Tools
SHA-3 Generator
Free online SHA-3 (Keccak) hash generator.
SHA-256 File Hash
Compute the SHA-256 checksum of any file.
SHA-512 File Hash
Compute the SHA-512 checksum of any file.
RIPEMD-160 Generator
Free online RIPEMD-160 hash generator.
BLAKE2 Generator
Free online BLAKE2b and BLAKE2s hash generator.
BLAKE3 Generator
Free online BLAKE3 hash generator.

