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.
| letter | code | letter | code |
|---|---|---|---|
A | AAAAA | N | ABBAB |
B | AAAAB | O | ABBBA |
C | AAABA | P | ABBBB |
D | AAABB | Q | BAAAA |
E | AABAA | R | BAAAB |
F | AABAB | S | BAABA |
G | AABBA | T | BAABB |
H | AABBB | U | BABAA |
I | ABAAA | V | BABAB |
J | ABAAB | W | BABBA |
K | ABABA | X | BABBB |
L | ABABB | Y | BBAAA |
M | ABBAA | Z | BBAAB |
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
To submit a flag, log in.