Coded Messages
Coded Messages
In response to the opening of his mail by European postmasters during his service as Minister to France (1784-1789), Jefferson began to rely heavily on codes to send important messages. His belief in the practice was strong enough to prompt him to devise his own enciphering device, the Wheel Cipher, in the early 1790s. While it appears Jefferson rarely, if ever, used the Wheel Cipher, he continued to use codes throughout his public career, including two that are associated with his communications with Meriwether Lewis:
Two Codes for Lewis
Coded Review of Army Officers
One of Meriwether Lewis's first jobs as the President's personal secretary was to help Jefferson decrease the size of officer corps of the United States Army, a task with political ramifications that Jefferson hoped to avoid through the use of a coded rating system. At Jefferson's request, the War Department supplied the President's Office with a roster of all commissioned officers, dated July 24, 1801. The roster lists nearly 300 officers, ranging in rank from Brigadier General to Lieutenant, and was originally broken into four columns -- Names, Rank, Date of Commission, and State. The title for the fifth column, Remarks, is in a different hand (compare the "R"s in Rank and Remarks), and historians believe that Lewis added this column to hold his coded notations. He returned the list to Jefferson along with a key to decipher his codes. Among the eleven symbols in the code are six that relate the political opinions of each officer, such as the "+++++o%" symbol (see key to codes below) that Lewis used to indicate that four members of the Army's General Staff were "opposed most violently to the Administration and still active in its vilification."
Using the key (see below) Lewis provided to his codes, Jefferson would have read the following:
- Samuel Fowle, a Lieutenant commissioned on February 22, 1799, from Massachusetts, was unknown to Lewis
- James House, a Lieutenant commissioned on February 22, 1799, from Pennsylvania, was "an officer of the first rank" whose "political opinions are not positively ascertained"
- Ebenezer Beche, a Lieutenant commissioned on February 22, 1799, from Connecticut, was "an officer of the first rank" who was "opposed to the Administration [more] decisively"
According to what is known about Jefferson's handling of the effort, neither Lt. Fowle, nor Lt. House, nor Lt. Beche would have been affected by the reduction of the army.
Click here to see a full transcription of the excerpt above and key below.
Key to Lewis's Coded "Remarks"
Jefferson's Cipher for Lewis
"I send you a cipher to be used between us, which will give you some trouble to understand, but, once understood, is the easiest to use." Jefferson wrote United State Minister to France Robert R. Livingston in 1802. Jefferson had used ciphers before with official as well as unofficial correspondence; letters to James Madison, John Adams, James Monroe, Robert Livingston, among others include communication in cipher. It was a way to keep "matters merely personal to ourselves" as well as a way to "have at hand a mask for whatever may need it."
Cognizant of the diplomatically sensitive situation Meriwether Lewis would be in while exploring the northwest, Jefferson prepared a cipher for use during the expedition and sent it to Lewis while he was preparing for the journey in Pennsylvania with astronomer, mathematician, and surveyor Andrew Ellicott.
The cipher, derived from the Vigenere cipher (that was widely used in Europe and was considered unbreakable until the 1830s), was a twenty-eight-column alphanumeric table. The correspondent would write the first line to be ciphered and then write out a keyword above, repeating it for the length of line (for Jefferson and Lewis the keyword was to be "artichokes"). The correspondent would use the up-and-down letter pairs to determine the coded letters, almost as if plotting points on a graph. Knowing the keyword the recipient could then translate the seemingly unintelligible message.
When sending the cipher to Lewis, Jefferson wrote out the instructions, "suppose the keyword to be 'antipodes' write it thus.
| a | n | t | i | p | o | d | e | s | a | n | t | i | p | o | d | e | s | a | n | t | i | p | o | d | e | s |
| t | h | e | m | a | n | w | h | o | s | e | m | i | n | d | o | n | v | i | r | t | u | e | b | e | n | t |
| u | v | y | v | q | b | & | m | g | t | s | f | r | c | s | s | s | n | j | e | m | c | u | q | i | t | m |
then copy out the ciphered line thus. uvyvqb&mgtsfrcsssnjemcuqitm." Jefferson then described the method, "look for the t. in the 1st vertical column, & a in the 1st horizontal one gives u."
| _ | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | |
| a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | 1 |
| b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | 2 |
| c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | 3 |
| d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | 4 |
| e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | 5 |
| f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | 6 |
| g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | 7 |
| h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | 8 |
| i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | 9 |
| j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | 0 |
| k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | |
| l | m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | |
| m | n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | |
| n | o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | |
| o | p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | |
| p | q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | |
| q | r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | |
| r | s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | |
| s | t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | |
| t | u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | |
| u | v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | |
| v | w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | |
| w | x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | |
| x | y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | |
| y | z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | |
| z | & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | |
| & | a | b | c | d | e | f | g | h | i | j | k | l | m | n | o | p | q | r | s | t | u | v | w | x | y | z |
That is, use the letter you want to change and the letter above it in the keyword to plot the coded letter. For example, the first letter from Jefferson's example message is "t" and the first letter of the keyword is "a". With your left hand, locate the "t" the first column, and with your right hand, locate the "a" in the first row. Draw your fingers together down the column and along the row to get the coded letter "u." Write that underneath the "t" and move on to the next set of letters.
Deciphering is nearly the reverse. As an example find the second letter of the keyword, "n", in the top row. Then draw your finger down the column until you find the second cipher letter, which is "v" in this example. Then draw your finger left across this row to the first column to find the letter "h."
In another example (in which the key letters are read from the bottom row) Jefferson envisioned Lewis's first message to him:
"I am at the head of the Missouri. All is well, and the Indians so far friendly."
Or more securely (with the keyword of "artichoke"):
"jsfjwawpmfsxxiawprjjlxxzpwqxweudvsdmf&gmlibexpxu&izxpseer"
Lewis recognized the need for secrecy and said that gathering information was an undertaking best approached by "stealth." However, during the journey he never found the need to use the cipher.
Transcript of Lewis's Code for Officers
| Names |
Rank
|
Date of Commission | State | Remarks |
| Samuel Fowle | Lieutenant | Feb. 22, 1799 | Massachusetts | ![]() |
| James House | Lieutenant | Feb. 22, 1799 | Pennsylvania | ![]() |
| Ebenezer Beche | Lieutenant | Feb. 22, 1799 | Connecticut | ![]() |
Transcription of Key
Explanation of the notes set opposite (in the column of remarks) to to the names of several officers composing the Army of the United States.
![]() |
— | Denotes such officers | as are of the 1st class, so esteemed from a superiority of genius & Military proficiency. | |
![]() |
— | [Denotes such officers] | second class, respectable as officers, but not altogether entitled to the 1st grade. | |
![]() |
— | [Denotes such officers] | Republican. | |
![]() |
— | [Denotes] Officers | whose political opinions are not positively ascertained. | |
![]() |
— | [Denotes Officers] | Political apathy. | |
![]() |
— | [Denotes Officers] | opposed to the administration, otherwise respectable officers. | |
![]() |
— | [Denotes Officers] | opposed to the administration more decisively. | |
![]() |
— | [Denotes Officers] | opposed most violently to the administration and still active in its vilification. | |
![]() |
— | [Denotes Officers] | professionally the soldier without any political creed. | |
![]() |
— | [Denotes Officers] | unworthy of the commissions they bear. | |
![]() |
— | [Denotes Officers] | unknown to us. | |
In this section
Next page in
The Lewis and Clark Expedition
/Preparing for the Expedition












