Bacon's cipher or the
Baconian cipher is a method of
steganography (a method of hiding a secret message as opposed to a true
cipher) devised by
Francis Bacon. A message is concealed in the presentation of text, rather than its content.
Cipher details
To encode a message, each letter of the
plaintext is replaced by a group of five of the letters 'A' or 'B'. This replacement is done according to the alphabet of the Baconian cipher, shown below.
a AAAAA g AABBA n ABBAA t BAABA
b AAAAB h AABBB o ABBAB u-v BAABB
c AAABA i-j ABAAA p ABBBA w BABAA
d AAABB k ABAAB q ABBBB x BABAB
e AABAA l ABABA r BAAAA y BABBA
f AABAB m ABABB s BAAAB z BABBB
Note: A second version of Bacon's cipher uses a unique code for each letter. In other words,
I and
J each has its own pattern.
The writer must make use of two different
typefaces for this cipher. After preparing a false message with the same number of letters as all of the
As and
Bs in the real, secret message, two typefaces are chosen, one to represent
As and the other
Bs. Then each letter of the false message must be presented in the appropriate typeface, according to whether it stands for an
A or a
B.
To decode the message, the reverse method is applied. Each "typeface 1" letter in the false message is replaced with an
A and each "typeface 2" letter is replaced with a
B. The Baconian...
Read More