Skip to main content
Challenges Bacon cipher
Cryptography Easy Bacon cipher Solves: 7

Bacon cipher

Author: CyberSamSU
Points
15

In 1605, Francis Bacon proposed writing each letter as a group of five made up of only two characters: A = AAAAA, B = AAAAB, ..., Z = BBAAB.

This is actually a 5-bit binary count: A = 0, B = 1. The strength of the Bacon cipher is that any two different characters can be substituted for A and B — for example, lowercase and uppercase letters, regular and italic font. For this reason, the message is hidden within ordinary text.

lettercodelettercode
AAAAAANABBAB
BAAAABOABBBA
CAAABAPABBBB
DAAABBQBAAAA
EAABAARBAAAB
FAABABSBAABA
GAABBATBAABB
HAABBBUBABAA
IABAAAVBABAB
JABAABWBABBA
KABABAXBABBB
LABABBYBBAAA
MABBAAZBBAAB

Convert the following groups into letters (/ is the word boundary):

BBAAA AABAA BAABB BAABB ABAAA BAAAA AAAAA BABAB AAAAA BAABB
/ ABBAA BABAA AAABB ABBBA AABAB AAAAA AAAAA

Flag: BAYROQ{KL4SS1K_<birinchi_soz>_<ikkinchi_soz>}

Theory: learn the topic
Learning paths: Cryptography 101
Hints 2
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −1 pts Log in
Hint 2 −3 pts Log in
To submit a flag, log in.

First solvers

1. Лазиз 04.10.2026
2. Mirjaxon Qaxxarov 26.10.2026
3. Odam 04.11.2026
4. Doston Allayarov 12.11.2026
5. Jasmin Xuseinova 15.11.2026
6. Zulxumor 23.11.2026
7. AGENT X 25.11.2026