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: 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: 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 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 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==