Baconian Cipher Encoder/Decoder (BAC)
Encode or decode text with the Baconian cipher using A/B patterns.
Choose the same variant your source used.
Optional: hide A/B in a cover text
Paste a cover text. We will replace characters with uppercase (=A) and lowercase (=B) according to your encoded sequence. Extra cover characters will stay the same.
How the Baconian cipher works
The cipher turns every letter into a block of 5 characters, each either “A” or “B”. For example, in the original 24-letter alphabet:
A = AAAAA
B = AAAAB
C = AAABA
...
I/J = ABAAA
U/V = BAABB
Once you have the A/B sequence, you can hide it in many ways: two fonts, two typefaces, two colors, or simply upper/lowercase. A recipient who knows the scheme can map it back to As and Bs and then to letters.
24 vs 26 letters
- 24-letter (classic): I=J and U=V are merged to fit 24 patterns.
- 26-letter (extended): every letter A–Z is unique. Pick this if you don’t want merged letters.
Common decoding problems
- Make sure the symbol you use for A and B is the same throughout.
- If the encoded message length is not a multiple of 5, the last letter may be incomplete.
- If the original text used the 24-letter alphabet, decoding with 26-letter mode will produce odd results.
Formula (LaTeX) + variables + units
This section shows the formulas used by the calculator engine, plus variable definitions and units.
Formula (extracted LaTeX)
\[','\\]
','\
Formula (extracted text)
A = AAAAA B = AAAAB C = AAABA ... I/J = ABAAA U/V = BAABB
Variables and units
- No variables provided in audit spec.
Sources (authoritative):
- NIST — Weights and measures — nist.gov · Accessed 2026-01-19
https://www.nist.gov/pml/weights-and-measures - FTC — Consumer advice — consumer.ftc.gov · Accessed 2026-01-19
https://consumer.ftc.gov/
Changelog
Version: 0.1.0-draft
Last code update: 2026-01-19
Last code update: 2026-01-19
0.1.0-draft · 2026-01-19
- Initial audit spec draft generated from HTML extraction (review required).
- Verify formulas match the calculator engine and convert any text-only formulas to LaTeX.
- Confirm sources are authoritative and relevant to the calculator methodology.