Shift 3-Rotor ABCD Alphabet
The Three-Wheel Cipher is a multi-layer substitution cipher that uses three concentric rotating wheels (small, medium, and large) aligned with an outer plaintext alphabet. Each wheel can be independently rotated to create different encryption patterns, making it significantly more secure than simple substitution ciphers.
Encoding
To encode a message using the Three-Wheel Cipher:
Find the plaintext character on the outer circle. Read the corresponding letters on all three inner wheels. The combination of these three letters forms the encoded character position. Optionally rotate one or more wheels after each character for polyalphabetic encryption.
Example encoding steps:
shift = small: 9, medium: 3, large: 0
- H → Small:
B, Medium:D, Large:D→BDD - E → Small:
B, Medium:C, Large:A→BCA - L → Small:
C, Medium:A, Large:D→CAD - L → Small:
C, Medium:A, Large:D→CAD - O → Small:
C, Medium:B, Large:C→CBC
Decoding
To decode a message:
- Take the encoded character representation.
- Find the position where all three wheels match the encoded pattern.
- Read the corresponding character from the outer plaintext circle.
Apply the same wheel rotation pattern used during encoding.
Example
shift = small: 9, medium: 3, large: 0
Input: hello world
Encoded: BDD BCA CAD CAD CBC | DAC CBC CCB CAD BCD
Decoded: HELLO WORLD