Skip to main content
CipherChronicle

Cipher methods Code

A1Z26 (alphabet rank)

Each letter becomes its position in the alphabet. A = 1, Z = 26.

Family :
Code
Difficulty :
Beginner
Era :
Classical teaching use

Also known as : alphabetic rank · alphabet numbering

The A1Z26 code — or alphabet rank — is the most direct encoding: every letter is replaced by its position in the alphabet. A = 1, B = 2, …, Z = 26. It’s often the first “cipher” we teach children because it only requires one skill: counting.

Principle

The mapping is linear:

A=1  B=2  C=3  D=4  E=5  F=6  G=7
H=8  I=9  J=10 K=11 L=12 M=13 N=14
O=15 P=16 Q=17 R=18 S=19 T=20 U=21
V=22 W=23 X=24 Y=25 Z=26

To make decoding unambiguous, write numbers as two digits with a leading zero (03 instead of 3), or insert separators (3-9-16-8-5).

Example

CIPHE03 09 16 08 05, or without separator: 0309160805.

Without padding or separators, 39168 5 is ambiguous (is it 3 9 16 8 5 or 3 9 1 6 8 5?). Hence the leading zero.

Variants and cousins

  • Reversed A1Z26Z = 1, Y = 2, …, A = 26, equivalent to Atbash followed by A1Z26.
  • ASCII code — same idea on a larger domain (A = 65, a = 97, etc.).
  • Greek / Hebrew alphabet rank — same mapping adapted to other alphabets.
  • Prime number substitution — each letter becomes a prime (A = 2, B = 3, C = 5, …).

Strengths and weaknesses

A1Z26 makes no cryptographic claim. It’s an encoding whose table is universally known. Its only “security” is hiding that text was written — a string of digits attracts less attention than a word.

It is however valuable as a building block: you combine it with other techniques (mathematical, geometric) to compose richer ciphers. Affine, Hill, Polybius, Vigenère — all rest on numeric representations of the alphabet.

In CipherChronicle

A1Z26 is the teaching gateway to numeric ciphers. It introduces the idea of representing text by numbers, a prerequisite for understanding Caesar, Affine or Vigenère afterwards.

Grid

0
3
0
9
1
6
0
8
0
5
Q
R
S
T
U
V
W
X
Y
Z
A
B
C
D
E
  1. 1

    Number stream

    A sequence of digits grouped in pairs, usually zero-padded on two positions.

  2. 2

    Pair splitting: 03, 09, 16, 08, 05

    Each number is an alphabet rank.

  3. 3

    Reading the table

    03 = C, 09 = I, 16 = P, 08 = H, 05 = E.

  4. 4

    Number-to-letter substitution

    Each number is replaced by its corresponding letter.

  5. 5

    Message revealed

    The word appears once all pairs have been decoded.