Skip to main content

Chess

The Chess cipher is a substitution cipher that uses a chessboard-like grid to encode letters and numbers. The table uses automatically generated keys with rows labeled A-G and columns labeled 0-9, similar to chess notation. Each character in the alphabet is placed in the grid, and the alphabet repeats to fill the entire board.

The cipher uses an extended alphabet including A-Z and 0-9 (36 characters total). If the grid size exceeds the alphabet length, the alphabet wraps around to fill the grid.

ABCDEFGH87654321ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ01

Encoding

  1. Each character is placed in a cell of the grid (rows labeled A-H, columns labeled 1-8).
  2. To encode a letter, find its row and column in the table.
  3. Combine the row and column keys to form the encoded symbol.
  4. Repeat for every character in the message.
  • HD3
  • EA3
  • LD7
  • OC2

Decoding

  1. Split the encoded message into grid coordinates
  2. Look up each pair in the table using row (A-H) and column (0-7) keys
  3. Replace with the corresponding letter

Example

Input: HELLO WORLD

Encoded: D3 A3 D7 H3 C2 | C1 G7 B6 D7 D8

Decoded: hello world

Demo

Constructor Options

Encode Options
Decode Options