Baconian Cipher

Summary: A steganographic (hidden message) cipher where each plaintext letter is encoded as a unique 5-bit binary sequence using two different symbols. The brilliance of this cipher is that the secret message is hidden within innocent-looking text by using visual variations that most people wouldn't notice.

How It Works:

The Baconian cipher works in three main steps:

  1. Convert each letter to a 5-bit code using only two symbols (traditionally 'a' and 'b')
  2. Hide these codes in cover text using visual variations (bold/regular, uppercase/lowercase, fonts, etc.)
  3. Extract the pattern to decode the hidden message

Baconian Alphabet (24-letter version - I/J and U/V combined):

A = aaaaa    B = aaaab    C = aaaba    D = aaabb    E = aabaa
F = aabab    G = aabba    H = aabbb    I/J = abaaa  K = abaab
L = ababa    M = ababb    N = abbaa    O = abbab    P = abbba
Q = abbbb    R = baaaa    S = baaab    T = baaba    U/V = baabb
W = babaa    X = babab    Y = babba    Z = babbb

Understanding the Code:


Detailed Example 1: Bold/Regular Text Method

Encrypting "HIDE":

Step 1 - Convert to Baconian:

Step 2 - Create cover text with at least 20 letters: "This secret message will not be obvious to anyone"

Step 3 - Apply bold pattern (a=regular, b=bold):

Position: 1 2 3 4 5 | 6 7 8 9 10| 11 12 13 14 15| 16 17 18 19 20
Letter:   T h i s s | e c r e t  | m  e  s  s  a | g  e  w  i  l
Pattern:  a a b b b | a b a a a  | a  a  a  b  b | a  a  b  a  a
Code:     [  H    ] | [   I    ] | [    D      ] | [    E      ]

Step 4 - Final cover text with formatting: "This secret message wil"

The reader sees: "This secret message will not be obvious to anyone" The hidden message: HIDE


Detailed Example 2: Letter-based (A/B groups)

Some Baconian ciphers use actual letters divided into two groups:

Group A (represents 'a'): A, B, C, D, E, F, G, H, I, J, K, L, M Group B (represents 'b'): N, O, P, Q, R, S, T, U, V, W, X, Y, Z

Encrypting "RUN":

Need 15 symbols total (3 letters x 5 symbols)

Step 1 - Write the code: baaaa baabb abbaa

Step 2 - Create cover text using Group A/B letters:

Position: 1     2     3     4     5     6     7     8     9     10    11    12    13    14    15
Pattern:  b     a     a     a     a     b     a     a     b     b     a     b     b     a     a
Use:      [Grp B][Grp A][Grp A][Grp A][Grp A][Grp B][Grp A][Grp A][Grp B][Grp B][Grp A][Grp B][Grp B][Grp A][Grp A]
Letters:  N     E     W     S     P     A     P     E     R     S     A     R     R     I     V     E
Code:     [         R         ]     [         U         ]     [         N         ]

Cover text reads: "Newspapersarrive" (meaningless but looks like text)

Better cover text: "Now all people arrive"

Note: Creating good cover text requires choosing actual words whose letters fall into the right groups.


Detailed Example 3: Uppercase/Lowercase Method

Encrypting "GO" with crib:

Cover text: "see ME THeN go"

Position: 1 2 3 4 5 6 7 8 9 10
Letter:   s e e M E T H e N  g
Case:     L L L U L U U L U  L
Pattern:  a a b b a a b b a  b
Code:     [  G    ] [  O    ]

(L=lowercase=a, U=uppercase=b)


How to Solve (with crib):

Given crib: "HELP" (or partial like "H__P")

  1. Identify the pattern type (bold/regular, upper/lower, font changes, etc.)
  2. Extract the binary pattern from the cover text
  3. Group into 5s: aabbb aabaa ababa abbba
  4. Look up in Baconian table:
  5. Verify the crib matches

Word Baconian (mentioned in competition rules):

When it says "Word Baconian" with a crib of 4+ letters, it means:

Key Insight: The Baconian cipher is about hiding information in plain sight. The "cover text" appears completely normal to casual observers, but contains a hidden binary pattern that encodes the secret message. This is why it's called a steganographic cipher—it conceals the very existence of the secret communication.