Skip to main content

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.

ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789

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: DBDD
  • E → Small: B, Medium: C, Large: ABCA
  • L → Small: C, Medium: A, Large: DCAD
  • L → Small: C, Medium: A, Large: DCAD
  • O → Small: C, Medium: B, Large: CCBC

Decoding

To decode a message:

  1. Take the encoded character representation.
  2. Find the position where all three wheels match the encoded pattern.
  3. 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

Demo

Constructor Options

1.
2.
3.
Encode Options
Decode Options