🔤 Baconian Cipher

⚙️
📖
I/J and U/V share codes (24 unique) All 26 letters have unique codes
🔤
📝
💡
📤
📋
{{ letter }}: {{ code }}
📊
Plaintext Length: {{ analysis.plaintext_length }}
Ciphertext Length: {{ analysis.ciphertext_length }}
Letter Count: {{ analysis.letter_count }}
Cipher Groups: {{ analysis.cipher_groups }}
Expansion Ratio: {{ analysis.expansion_ratio }}x
Version Used: {{ analysis.version_used }}
Security Level: {{ analysis.security_level }}
Encoding Efficiency: {{ analysis.encoding_efficiency }}%
ℹ️
Cipher Type: Substitution cipher
Method: Binary alphabet encoding
Key Size: 5 bits per letter
Inventor: Francis Bacon (1605)
Best For: Steganography and education
Weakness: Frequency analysis vulnerability
⚠️

ℹ️ About Baconian Cipher

Baconian Cipher, also called Bacon's biliteral cipher, is a historical substitution and steganography method associated with Francis Bacon. Each plaintext letter is represented by a five-symbol pattern drawn from two possible values, traditionally A and B and often written today as 0 and 1.

Use cases:

  • Studying classical ciphers and early binary-style encodings.
  • Building puzzle, escape-room, CTF, and classroom cipher exercises.
  • Demonstrating how a hidden message can be carried by two visual states, such as two typefaces, uppercase/lowercase letters, or marked/unmarked characters.
  • Converting between readable text and grouped A/B or 0/1 Baconian patterns.

Technical details: Five binary positions provide 32 possible groups, enough to represent the alphabet. The classical 24-letter form merges I/J and U/V, matching older alphabet conventions. The modern 26-letter form assigns a separate pattern to each English letter. Non-letter characters are usually ignored, preserved as separators, or handled by the specific tool policy.

Variants supported here:

  • Version A: classical table with shared I/J and U/V entries.
  • Version B: modern table with unique codes for all 26 letters.
  • A/B alphabet: the traditional display form, such as AABBB.
  • 0/1 alphabet: the same patterns rendered as binary digits, such as 00111.

Examples: In Version A with the A/B alphabet, HELLO becomes AABBB AABAA ABABA ABABA ABBAB. With the 0/1 alphabet, the same message becomes 00111 00100 01010 01010 01101. To hide that output in carrier text, assign one visual style to A/0 and another visual style to B/1, then read the carrier text in groups of five marked characters.

Limitations: Baconian output expands every plaintext letter to five symbols, carries no authentication, and uses a fixed mapping unless an additional hiding scheme is applied. The classical version also loses information when decoding I/J and U/V.

Security note: This is an educational and historical cipher, not modern encryption. Anyone who recognizes the grouping or the two-symbol pattern can decode it, and it should not be used to protect passwords, secrets, private messages, API keys, or regulated data.

References: Bacon's biliteral alphabet appears in De dignitate et augmentis scientiarum, and the NSA's Dawn of American Cryptology includes historical context for the Bacon biliteral cipher.

API Usage Example:

POST /api/tools/encoding-decoding/baconian
Content-Type: application/json

{
    "text": "Hello World",
    "operation": "encode",
    "version": "A",
    "alphabet": "AB"
}
Ready