STATION 25 / FIELD MANUAL

← Back to crypto library

Bacon

Encoding

Bacon's method represents letters using two distinguishable states. Those states might be A/B, light/bold text, or two symbol styles. The carrier's visible words need not be the secret message.

How to recognise it

Look for two consistent styles across many positions, often in groups of five. Use evidence from the document: random font differences are not automatically an encoded message. Reversing which style means A changes the output.

Worked example: encode CAT

Use the explicit 26-letter, five-bit variant: A has value 0, B has 1, through Z at 25. Write each value in five binary digits, replacing 0 with a and 1 with b:

Letter  Value  Binary  Two-state code
C         2    00010   aaaba
A         0    00000   aaaaa
T        19    10011   baabb

Result: aaaba aaaaa baabb
  1. Convert C=2, A=0 and T=19 to five-bit values, retaining leading zeroes.
  2. Choose the two carrier styles, for example light=a and bold=b.
  3. Encode the resulting 15 states in 15 successive carrier positions. For T, positions 1,4,5 use style b.

Work backwards: decode aaaba aaaaa baabb

Translate a/b to 0/1. Split into 00010 / 00000 / 10011. With place values 16,8,4,2,1, these are 2,0,19, giving CAT.

Conventions and common mistakes

Historical 24-letter tables merge I/J and U/V; they differ from the 26-letter variant shown here. Values 26–31 have no letter in this table. Count the agreed carrier unit (letters, marks or another unit), retain leading zeroes and ignore the carrier's word boundaries unless instructed otherwise.

  • Pigpen — Another symbol-based representation, using outlines instead of two-state groups.
  • Polybius — Compare grouped binary states with coordinate pairs.

Useful desk reference

Alphabet positions — The five-bit example uses letter indices starting at zero.

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.