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 using two fonts, two colors, or simply uppercase versus lowercase characters. A reader with the key can map 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 and does not rely on merged symbols.
Common decoding problems
- Make sure the symbol you use for A and B stays consistent.
- If the encoded message length is not a multiple of 5, the last letter may be incomplete.
- Mixing alphabet variants (24 vs 26) produces odd characters during decoding.
Related Crypto & Encoding Tools
- Caesar Cipher Encoder/Decoder
- Atbash Cipher
- Substitution Cipher Solver
- RSA Encryption/Decryption
- Baconian Cipher (alt)
Tips for stronger stego
Use a cover text of similar length to your encoded message. Mix punctuation and numbers, and avoid repeating obvious upper/lowercase patterns so your embedded A/B stream stays subtle.