The Straddling Checkerboard Cipher is a substitution cipher that encodes letters into digits using a numeric grid with main rows and offset rows. Common letters are assigned a single digit in the main rows, while less frequent letters use one of the offset rows as a prefix to create a two-digit code. This method compresses messages and provides a simple layer of obfuscation.

The cipher relies on a pre-agreed mapping and row arrangement. Frequent letters use the mainRows (0–9), while less common letters are placed in offset rows (2 and 7). This “checkerboard” structure mixes 1-digit and 2-digit representations.

Straddling Checkerboard Cipher: Encoding

To encode, replace each plaintext letter with its corresponding digit or digit pair according to the mapping below. For example, using the provided key:

Mapping:
A → 0      B → 1      C → 2      D → 3      E → 4
F → 5      G → 6      H → 7      I → 8      J → 9
K → 20     L → 21     M → 22     N → 23     O → 24
P → 25     Q → 26     R → 27     S → 28     T → 29
U → 70     V → 71     W → 72     X → 73     Y → 74     Z → 75

Plaintext:  CATENCODE
Encoding steps:
C → 2
A → 0
T → 29
E → 4
N → 23
C → 2
O → 24
D → 3
E → 4

Ciphertext: 2 0 29 4 23 2 24 3 4

Straddling Checkerboard Cipher: Decoding

To decode, reverse the process by reading each digit or digit pair. Digits from the mainRows (0–9) represent single letters, while digits starting with an offset row (2 or 7) indicate a two-digit code. Using the example above:

Ciphertext: 2 0 29 4 23 2 24 3 4

Decoding steps:
2   → C
0   → A
29  → T
4   → E
23  → N
2   → C
24  → O
3   → D
4   → E

Plaintext: CATENCODE

Straddling Checkerboard Cipher: Notes

Single-digit codes come from the mainRows (0–9) for common letters. Two-digit codes use offset rows (2 or 7) as the first digit for less frequent letters. The exact placement of letters in the mapping constitutes the cipher key. Messages can be compressed due to single-digit encoding for frequent letters, making the cipher efficient. Decoding requires strict adherence to the mapping and rows; otherwise, ciphertext may be misinterpreted.

Straddling Checkerboard Cipher

T