The Map Cipher is a simple substitution cipher that encodes messages using a geographic or visual reference, often overlaying a plaintext message onto a map and extracting letters based on pre-defined coordinates or zones. Each plaintext letter is mapped to a position on the map, and the corresponding symbol, letter, or code from that location becomes the ciphertext. This type of cipher combines geographic knowledge with substitution to obscure the message.
Encoding requires a predetermined map grid or coordinate system known to both sender and receiver. Decoding reverses the process by locating each ciphertext symbol on the map and retrieving the corresponding plaintext letter.
Map Cipher: Encoding
Suppose we have a simple 5×5 coordinate map labeled A–E for rows and 1–5 for columns. To encode the plaintext HELLO, each letter is assigned to a map coordinate. For example, using a prearranged mapping:
Plaintext: H E L L O
Map Coordinates (predefined):
H → B3
E → A5
L → C1
L → C1
O → C4
Ciphertext: B3 A5 C1 C1 C4Each plaintext letter is located on the map and replaced with its coordinate, creating a non-linear substitution based on geographic placement.
Map Cipher: Decoding
To decode, the recipient uses the same map and coordinate system. Each ciphertext coordinate is translated back to its corresponding letter:
Ciphertext: B3 A5 C1 C1 C4
Map Lookup:
B3 → H
A5 → E
C1 → L
C1 → L
C4 → O
Plaintext: H E L L OMap Cipher: Notes
The Map Cipher is more of a positional substitution than a true algorithmic cipher. Its security depends entirely on the secrecy of the map and coordinate assignments. While simple, it demonstrates the concept of using external systems—geography, grids, or visual layouts—to encode messages.