Bacon's cipher explained

Bacon's cipher or the Baconian cipher is a method of steganographic message encoding devised by Francis Bacon in 1605.[1] [2] [3] A message is concealed in the presentation of text, rather than its content. Baconian ciphers are categorized as both a substitution cipher (in plain code) and a concealment cipher (using the two typefaces).

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 a 5-bit binary encoding and is done according to the alphabet of the Baconian cipher (from the Latin Alphabet), shown below:

Letter Code Binary
A aaaaa 00000
B aaaab 00001
C aaaba 00010
D aaabb 00011
E aabaa 00100
F aabab 00101
G aabba 00110
H aabbb 00111
I, Jabaaa 01000
K abaab 01001
L ababa 01010
M ababb 01011
Letter Code Binary
N abbaa 01100
O abbab 01101
P abbba 01110
Q abbbb 01111
R baaaa 10000
S baaab 10001
T baaba 10010
U, Vbaabb 10011
W babaa 10100
X babab 10101
Y babba 10110
Z babbb 10111

A second version of Bacon's cipher uses a unique code for each letter. In other words, I, J, U and V each have their own pattern in this variant:

Letter Code Binary
A aaaaa 00000
B aaaab 00001
C aaaba 00010
D aaabb 00011
E aabaa 00100
F aabab 00101
G aabba 00110
H aabbb 00111
I abaaa 01000
J abaab 01001
K ababa 01010
L ababb 01011
M abbaa 01100
Letter Code Binary
N abbab 01101
O abbba 01110
P abbbb 01111
Q baaaa 10000
R baaab 10001
S baaba 10010
T baabb 10011
U babaa 10100
V babab 10101
W babba 10110
X babbb 10111
Y bbaaa 11000
Z bbaab 11001

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.[4]

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 alphabet is then used to recover the original message.

Any method of writing the message that allows two distinct representations for each character can be used for the Bacon Cipher.Bacon himself prepared a Biliteral Alphabet[5] for handwritten capital and small letters with each having two alternative forms, one to be used as A and the other as B. This was published as an illustrated plate in his De Augmentis Scientiarum (The Advancement of Learning).

Because any message of the right length can be used to carry the encoding, the secret message is effectively hidden in plain sight. The false message can be on any topic and thus can distract a person seeking to find the real message.

Baconian cipher example

The word 'steganography', encoded with quotation marks, where standard text represents "typeface 1" and text in boldface represents "typeface 2":

The pattern of standard and boldface letters is:

This decodes in groups of five as

where the last three groups, being unintelligible, are assumed not to form part of the message.

Bacon and Shakespeare

Some proponents of the Baconian theory of Shakespeare authorship, such as Elizabeth Wells Gallup, have claimed that Bacon used the cipher to encode messages revealing his authorship in the First Folio. However, American cryptologists William and Elizebeth Friedman refuted the claims that the works of Shakespeare contain hidden ciphers that disclose Bacon's or any other candidate's secret authorship in their The Shakespeare Ciphers Examined (1957). Typographical analysis of the First Folio shows that a large number of typefaces were used, instead of the two required for the cipher, and that printing practices of the time would have made it impossible to transmit a message accurately.[6]

The Friedmans' tombstone included a message in Bacon's cypher not spotted for many years.[7]

See also

Further reading

External links

Notes and References

  1. Book: Bacon . Francis . Francis Bacon . The Proficience and Advancement of Learning Divine and Humane . 1605.
  2. Book: Bacon . Francis . Francis Bacon . Of the Advancement and Proficience of Learning . 1640 . Gilbert . Wats . Oxford University . 257–271.
  3. Web site: Dupuy, Jr. . Paul J. . An Authorship Analysis – Francis Bacon as Shake-speare . Shake-n-Bacon . May 1996 . The Advancement of Learning . 6 . London . Chapter 1 . 2017-03-18 . live . https://web.archive.org/web/20170318232428/http://home.hiwaay.net/~paul/bacon/advancement/book6ch1.html . 2017-03-18.
  4. Helen Fouché Gaines, Cryptanalysis: a Study of Ciphers and Their Solutions (1989), page 6
  5. Biliteral can mean: "written in two different scripts", Oxford English Dictionary
  6. Book: Kahn. David. The Code-breakers. 1996. Scribner. New York. 0-684-83130-9. 882–888. 2nd.
  7. News: Dunin. Elonka. Cipher on the William and Elizebeth Friedman tombstone at Arlington National Cemetery is solved. Elonka.com. 17 April 2017.