Skip to main content
Challenges Playfair cipher
Cryptography Hard Playfair cipher Solves: 8

Playfair cipher

Author: CyberSamSU
Points
70

Playfair is a cipher invented by Charles Wheatstone in 1854. It encrypts pairs of letters (digraphs) rather than individual letters, so simple frequency analysis is much weaker against it.

A 5x5 square is constructed with the keyword (I and J are in the same cell). Key: MAXFIYKALIT.

MAXFI/J
YKLTB
CDEGH
NOPQR
SUVWZ

There are three rules for each pair:

  • In the same row: each letter is replaced by its right neighbor (wrapping to the first column after the last column).
  • In the same column: each letter is replaced by its bottom neighbor (wrapping to the first row after the last row).
  • Otherwise: a rectangle is formed, and each letter remains in its own row and moves to the column of the other letter.

In decryption, the rules are applied in the reverse direction: left instead of right, top instead of bottom.

Ciphertext (divided into pairs):

LH BA BF TE MO FX IB OM

There are no repeating double letters in the plaintext, no padding X has been added — the result is read directly. When decrypting, if the I/J cell appears, always write it as I.

Flag: BAYROQ{KL4SS1K_<ochiq_matn>}

Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −7 pts Log in
Hint 2 −14 pts Log in
Hint 3 −21 pts Log in
To submit a flag, log in.

First solvers

1. W.o.X 17.09.2026
2. Лазиз 04.10.2026
3. testrejim 09.10.2026
4. Mirjaxon Qaxxarov 26.10.2026
5. Odam 05.11.2026
6. arcanum 11.11.2026
7. pentester_uz 12.11.2026
8. Doston Allayarov 28.11.2026