5x5 Checkerboard Cipher (Polybius Square)

Summary: A substitution cipher using a 5x5 grid (Polybius square) with a keyword. I and J share one cell. Each letter is encoded as its (row, column) coordinates.

Example:

Polybius Square:

  1 2 3 4 5
1 C I P H E
2 R A B D F
3 G K L M N
4 O Q S T U
5 V W X Y Z

Encryption:

Decryption (given key CIPHER):

  1. Build the Polybius square with keyword CIPHER
  2. Split ciphertext into pairs: 14, 15, 33, 33, 41
  3. Look up coordinates:
  4. Plaintext: HELLO

Additional Example:

  1 2 3 4 5
1 M A T R I
2 X B C D E
3 F G H K L
4 N O P Q S
5 U V W Y Z

(Note: J is combined with I)

Encrypting "JACK":

Encrypting "RENDEZVOUS" (note: J becomes I):

Decrypting 32 21 25 (given keyword MATRIX):

  1. Build MATRIX square (shown above)
  2. Split into pairs: 32, 21, 25
  3. Look up:
  4. Plaintext: GXE (possibly a word fragment)

Practical Note: In competitions, you might see the ciphertext written as one long string: "1512233441" would be split as: 15-12-23-34-41 Always split into pairs from left to right.