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.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | |
|---|---|---|---|---|---|---|---|---|
| A | A | B | C | D | E | F | G | H |
| B | I | J | K | L | M | N | O | Q |
| C | P | R | S | T | U | V | W | X |
| D | Y | Z | 0 | 1 | 2 | 3 | 4 | 5 |
| E | 6 | 7 | 8 | 9 | A | B | C | D |
| F | E | F | G | H | I | J | K | L |
| G | M | N | O | Q | P | R | S | T |
| H | U | V | W | X | Y | Z | 0 | 1 |
Encoding
- Each character is placed in a cell of the grid (rows labeled A-H, columns labeled 1-8).
- To encode a letter, find its row and column in the table.
- Combine the row and column keys to form the encoded symbol.
- Repeat for every character in the message.
- H →
A8 - E →
A5 - L →
B4 - O →
B7
Decoding
- Split the encoded message into grid coordinates
- Look up each pair in the table using row (A-H) and column (0-7) keys
- Replace with the corresponding letter
Example
Input: HELLO WORLD
Encoded: A8 A5 B4 F8 B7 | C7 G3 C2 B4 A4
Decoded: hello world