At a glanceKey from adjacent plaintext · partial (87% of the cipher coherent by tokens or lines, not the word count)
- The letter
- Luis López Méndez, in London, to Simón Bolívar as "Supremo Gefe de la República de Venezuela", 29 January 1819. A Spanish letter in clear, with fifteen underlined words in cipher in four places.
- Where
- Archivo General de la Nación, Bogotá, Sección Archivo Anexo, Grupo I, Historia, HISTORIA.SAA-I.17,25,D.24, ff. 226–228 (cipher on ff. 227v–228r). Images on DataViva. Catalogue entry 1523. Not on DECODE.
- The cipher
- Ordinary lowercase letters, many with a digit 1–7 written above. In this sample each letter with its digit, and each bare letter, stands for one plain letter: 21 distinct symbols in 70 signs.
- How it was deciphered
- No key and no decipherment survive. The values were fitted to words suggested by the clear text around the cipher, and they fit the 14 words read, and 69 of the 70 signs, without conflict. This tests consistency only, not a recovered key.
- What it says
- López Méndez says he has been jailed five times and released on bail; that Mac Gregor has done great harm, and that he joined an expedition of his, for [?Maracaibo], and left it; and that Mac Gregor is trying to go to Santafé.
- Still open
- One sign in "[?Maracaibo]" has no value, so that word is a guess. Most of the table cannot be filled from 70 signs.
- Credit
- Transcription, table and reading contributed by WAINUT (lccompany), with AI agents, 2–3 November 2026; the catalogue's vetting of 28 October 2026 gave the first context reading.
01 The letter
The letter belongs to a unit of twelve folios (ff. 222–233) in the AGN's Archivo Anexo. The AGN's description says López Méndez reports the sailing of the schooner Gambier with men, arms and powder, and that other news is set down "bajo el código de una clave secreta". The rest of the unit is in clear: letters of Hurry, Powles & Hurry and of Herring and Saffray, and a printed loan certificate.
The cipher is in four places, all underlined:
| Place | Signs | Words |
|---|---|---|
| f. 227v l. 17–18 | 41 | he estado preso cinco veces y he salido con fianza |
| f. 227v l. 23 | 9 | Mac Gregor |
| f. 227v l. 27 and f. 228r l. 1 | 13 | para [?Maracaibo] |
| f. 228r l. 5–6 | 7 | Santafé |
Line numbers are counted on the images (f. 227v has 27 lines); the catalogue's "lines 20–22" and "line 27" do not match the page. The DataViva images carry no licence statement, so none is reproduced here; the signs are given in type below, as transcribed.
f. 227v l. 17 o1 r, r t3 e5 l i1 o2, i3 e4 r t3 o2, m1 c a m1 o2, e6 r m1 r t3: f. 227v l. 18 e7, o1 r, t3 l e3 c i1 o2, m1 o2 a, e2 c l a m3 l. f. 227v l. 23 t1 l m1, d1 e4 r d1 o2 e4. f. 227v l. 27 i3 l e4 l, t1 l e4 t? f. 228r l. 1 m1 l c e1 o2. f. 228r l. 5 t3 l a e5 l f. 228r l. 6 e2 r.
02 The cipher and the table
The base letter alone does not fix the value: e1 = b, e2 = f, e3 = l, e4 = r, e5 = t, e6 = v, e7 = y. 42 of the 70 signs carry a digit. The twenty values found are:
a=n c=i d1=g e1=b e2=f e3=l e4=r e5=t e6=v e7=y i1=d i3=p l=a m1=c m3=z o1=h o2=o r=e t1=m t3=s
Within each base letter the plain values rise through the alphabet with the digit (e gives b f l r t v y, i gives d p, m gives c z, o gives h o, t gives m s). Nothing in building the table assumed this; for the seven e values alone a rising order has a chance of 1 in 5,040 if digits and letters were unrelated. It suggests a partly alphabetical table, but it is an observation on a small sample, not a proof.
03 How the table was built
There are no cipher-and-plain pairs. The table comes from the clear text around the words, first in the catalogue's vetting of 28 October 2026 and then in the contribution, and it is built from the assumed plaintext, so "no conflict" tests consistency only.
- Fit. 0 conflicts in both directions: one symbol to one letter and one letter to one symbol. 20 symbols cover 69 signs.
- Real constraints. About 50 repeats of a symbol, the repeat patterns inside words and the one-to-one mapping. Gregor, fianza, veces, cinco, para, Santafé and "he ... he" fit without choice.
- Least supported. d1, e1, e3, e6, e7, m3 and o1 are found in one word only; e1 = b, t1 = m and d1 = g rest on context alone.
- Control. Plain words swapped at random among cipher words of equal length (the 14 words other than [?Maracaibo]): 62 of 20,000 trials gave no conflict, and all 62 were the true assignment again. Far better than chance, but a mild test.
- Second reader. A second agent of the contributor read the signs blind from enlarged crops: all 70 letters agree; two or three digit marks were undecided, none changing a letter value.
No statistical validation of the table is possible: there is no held-out text in this table.
04 The reading
The cipher words are in bold; the clear text around them is a working transcription, given so that they stand in their sentences.
Para que no le quede á V.E. la menor duda de quanto urge esta medida bajo de todos respectos, desde luego pongo en la noticia de V.E. con sumo dolor, que he estado preso cinco veces y he salido con fianza. [...]
Mac Gregor ha causado un perjuicio indecible á nuestra causa. [...] en virtud de ella entré en una expedicion, para [?Maracaibo]. Me separé de ella, porque tuve la mayor evidencia de que su intento era otro [...]
Está pensando, y haciendo esfuerzos para ir á, Santafé.
In English: "I have been jailed five times and have come out on bail"; "Mac Gregor has done untold harm to our cause ... I joined an expedition, for [?Maracaibo]. I left it"; "He is thinking of going, and making efforts to go, to Santafé."
"veces", not "meses". The catalogue's vetting read "cinco meses". The word is e6 r m1 r t3: the third sign is m1, which is c in cinco, and the fifth is t3, s in four other words. "meses" would need those two different symbols to be one letter. The clear text goes on "en todas estas ocasiones", which fits "veces".
The jailings rest on the cipher alone. No other source for an imprisonment of López Méndez in London in 1818–19 was found, and none contradicts it.
05 What remains open
- [?Maracaibo]. M-a-r-?-c-a-i-b-o fits nine letters, but the fourth sign would have to be a, and it is written t with an extra stroke above, while a = l in all eleven other places. It needs a homophone, a slip of the pen or a different word. A context guess, not a reading of the signs; the join of the two parts across the page is also ours.
- The rest of the table. q, u, j, x, k, ñ and most cells outside the e column cannot be filled from 70 signs, and no other letter in this table was found (the DataViva catalogue was searched for López Méndez with cipher terms).
- Context values. e1 = b, t1 = m and d1 = g rest on context alone.
Read share by cipher words: 14 of 15 (93%). The short-text floor (a text under 40 cipher words counts as complete with at most 2 holes) was not applied, because the words rest on a table built from their own context.
06 Earlier work
No earlier decipherment was found. The catalogue's vetting found the letter not on DECODE or in Tomokiyo's Cryptiana, and grepped 15 volumes of O'Leary's Memorias on the Internet Archive with no hit; one web search in Spanish found no edition. Not reached: Bákula 1949, the Archivo del Libertador, the O'Leary volumes not on the Internet Archive, and Mondolfi. We do not call this reading new.
Full texts
The transcription and the decryption of every document on this page, so that the reading can be used and checked. Short files are shown here; all are in the repository.
The 15 cipher words, ff. 227v-228r read in part
Pressing Bolívar for funds, López Méndez says in cipher that he has been jailed five times and released on bail; no other source for this was found. Mac Gregor, he says, has done untold harm to the cause; he joined an expedition of his, for [?Maracaibo], and left it. Mac Gregor is now trying to go to Santafé.
Builds coherent sentences, but under the read bar of 95% of words read as sense (93% here); the holes are marked in the reading.
Transcription
# Luis López Méndez to Simón Bolívar, London, 29 Jan 1819. AGN Colombia, HISTORIA.SAA-I.17,25,D.24, ff. 227v-228r. # Images: DataViva record 66b0cd4f151c9d47762a2382, gallery index 11 (f. 227v) and 12 (f. 228r). # Notation: letter + digit = a letter with that digit written above it; a letter alone has no digit. The caret-shaped # mark over e is a written 4 (same shape in i3 e4 r t3 o2 and d1 e4 r d1 o2 e4). The writer's commas and stops are kept. # t? = t with an extra stroke above it that may be a digit; see NOTES.md. # Sign lines hold only the 15 underlined cipher words (70 signs). Clear words are in these comment lines. # Line numbers are counted on the images: f. 227v has 27 lines. See NOTES.md for the catalogue's numbering. # f. 227v l. 17, after clear "desde luego pongo en la noticia de V.E. con sumo dolor, que" o1 r, r t3 e5 l i1 o2, i3 e4 r t3 o2, m1 c a m1 o2, e6 r m1 r t3: # f. 227v l. 18 e7, o1 r, t3 l e3 c i1 o2, m1 o2 a, e2 c l a m3 l. # f. 227v l. 23, before clear "ha causado un perjuicio indecible á nuestra causa." t1 l m1, d1 e4 r d1 o2 e4. # f. 227v l. 27 (last line), after clear "entré en una expedicion,"; no line-end hyphen is written after the second word i3 l e4 l, t1 l e4 t? # f. 228r l. 1, before clear "Me separé de ella" m1 l c e1 o2. # f. 228r l. 5, after clear "Está pensando, y haciendo esfuerzos para ir á,"; a hyphen ends the line t3 l a e5 l # f. 228r l. 6, before clear "No sé si podrá lograrlo" e2 r.
Decryption
# Decryption of the transcription with key.tsv, line by line. The word division and punctuation are the writer's. # [?] = sign with no value. Accents are not in the cipher. The table is built from the assumed plaintext (NOTES.md). # f. 227v l. 17, after clear "desde luego pongo en la noticia de V.E. con sumo dolor, que" o1 r, r t3 e5 l i1 o2, i3 e4 r t3 o2, m1 c a m1 o2, e6 r m1 r t3: he, estado, preso, cinco, veces: # f. 227v l. 18 e7, o1 r, t3 l e3 c i1 o2, m1 o2 a, e2 c l a m3 l. y, he, salido, con, fianza. # f. 227v l. 23, before clear "ha causado un perjuicio indecible á nuestra causa." t1 l m1, d1 e4 r d1 o2 e4. mac, gregor. # f. 227v l. 27 (last line), after clear "entré en una expedicion,"; no line-end hyphen is written after the second word i3 l e4 l, t1 l e4 t? para, mar[?] # f. 228r l. 1, before clear "Me separé de ella" m1 l c e1 o2. caibo. # f. 228r l. 5, after clear "Está pensando, y haciendo esfuerzos para ir á,"; a hyphen ends the line t3 l a e5 l santa # f. 228r l. 6, before clear "No sé si podrá lograrlo" e2 r. fe.
Reading
# Reading: Luis López Méndez to Simón Bolívar, London, 29 Jan 1819 (f. 227v l. 12 to f. 228r l. 9)
Bold = the 15 cipher words. Everything else is clear text, given so that the cipher words stand in their sentences; it is a working transcription, not an edition. {E1} to {E4} point to the editorial notes below.
## Spanish
Para que no le quede á V.E. la menor duda de quanto urge esta medida bajo de todos respectos, desde luego pongo en la noticia de V.E. con sumo dolor, que **he estado preso cinco veces y he salido con fianza** {E1}. La cosa en todas estas ocasiones se manejó de modo, que solo algunos pocos sujetos tuvieron noticia, y no ha llegado á extenderse.
**Mac Gregor** {E2} ha causado un perjuicio indecible á nuestra causa. Antes había de él una idea bastante favorable, y yo la tenía, y en virtud de ella entré en una expedicion, **para [?Maracaibo]** {E3}. Me separé de ella, porque tuve la mayor evidencia de que su intento era otro, que nos iba á causar muchos perjuicios.
Está pensando, y haciendo esfuerzos para ir á, **Santafé** {E4}. No sé si podria lograrlo, pero sí, que está muy decidido á desembarcar en la costa, y penetrar en todo aquel territorio, haciéndose Gefe Supremo de él.
## Editorial notes (repairs beyond the signs)
- {E1} The signs give "he, estado, preso, cinco, veces: y, he, salido, con, fianza." The writer's commas between cipher words and his colon are dropped here.
- {E2} The signs give "mac, gregor." The comma is dropped and the capitals are ours.
- {E3} The signs give "para, mar[?]" at the end of f. 227v and "caibo." at the top of f. 228r. Supplied by us: the letter a at the [?], and the join of the two parts into one word. The fourth sign is written t (with an extra stroke above it), not l, the sign for a everywhere else, so "Maracaibo" is a context guess and not a reading of the signs.
- {E4} The signs give "santa-" at the line end and "fe." on the next line. The join, the capital and the accent are ours; the cipher has no accents.
"veces" is a reading of the signs, not a repair: see NOTES.md for why "meses", the reading in the catalogue, does not fit them.Translation
# English translation (f. 227v l. 12 to f. 228r l. 9) Bold = the cipher words, with the same hole as the reading. So that Your Excellency may not have the least doubt of how urgent this measure is in every respect, I at once inform Your Excellency, with great sorrow, that **I have been jailed five times and have come out on bail**. The matter on all these occasions was so handled that only a few persons knew of it, and it has not spread. **Mac Gregor** has done untold harm to our cause. Formerly there was a fairly favourable idea of him, and I held it too, and on the strength of it I joined an expedition, **for [?Maracaibo]**. I left it, because I had the fullest evidence that his intention was another, which was going to cause us much harm. He is thinking of going, and making efforts to go, to **Santafé**. I do not know whether he could manage it, but I do know that he is quite determined to land on the coast and to enter all that territory, making himself Supreme Chief of it.
Key: key.tsv
07 Sources
- Archivo General de la Nación, Bogotá, HISTORIA.SAA-I.17,25,D.24: DataViva record 66b0cd4f151c9d47762a2382; f. 227v is gallery index 11, f. 228r index 12.
- Catalogue entry 1523 and its vetting of 28 October 2026 (research/latam_vetting/1523_sample.txt); the DataViva sweep, research/latam_north.
- Contribution by WAINUT (lccompany), with AI agents, 2–3 November 2026.
Transcription, key, decryption, reading, translation and the solver: targets/lopezmendez1819/.
Cite this page
WAINUT and Daniel Bourdeau, “Luis López Méndez to Simón Bolívar, London, 29 January 1819”, Cyphersolver, posted 24 November 2026, repository commit 17bf7e8764, https://cyphersolver.com/lopezmendez1819.html.

