STATION 25 / FIELD MANUAL

← Back to crypto library

Additive pad

Polyalphabetic

An additive alphabetic pad supplies one key letter for every message letter. There is no short repeating keyword in this construction. Encryption adds values modulo 26; decryption subtracts them.

How to recognise it

A separate key strip matching the message length may suggest a pad. Ciphertext alone cannot establish that a key was random or used only once. The arithmetic also appears in other alphabetic ciphers.

Worked example: encrypt CAT with pad DOG

Use A=0 through Z=25. DOG is a short demonstration pad, not a claim of secure randomness.

Plaintext   C  A  T
Values      2  0 19
Pad         D  O  G
Pad values  3 14  6
Sums        5 14 25
Ciphertext  F  O  Z
  1. Add C+D: 2+3=5, giving F.
  2. Add A+O: 0+14=14, giving O.
  3. Add T+G: 19+6=25, giving Z. Result: FOZ.

Work backwards: decrypt FOZ

Subtract DOG: 5−3=2 (C), 14−14=0 (A), 25−6=19 (T). The result is CAT. A negative result wraps by adding 26.

Conventions and common mistakes

Do not repeat a short pad to cover a longer message. A one-time pad's security requires a uniformly random secret key at least as long as the message, used only once. A memorable word is merely a teaching aid here. Reusing aligned pad positions creates the weakness explained in Key reuse.

  • Vigenère — Compare a full-length key with a repeating keyword.
  • Key reuse — Why using a pad twice exposes related messages.

Useful desk reference

Alphabet positions — Use the A=0 row for modular arithmetic.

Support this project

Enjoying Advent of Cypher? If you'd like to support the project and help keep it running, you can make a small donation. Completely optional, always appreciated.