Madrid → Constable of Castile · homophonic cipher in invented signs · 8 August 1596

Matheo de Segura to the Constable of Castile, 8 August 1596

BnF espagnol 336, no. 99, ff. 196r–198r: two short encrypted passages in a mostly clear Spanish letter, one of them on a comet and a prediction for September.

The key was recovered here from the ciphertext alone, from the manuscript images; no key or earlier decipherment was found. Every sign has a proposed value; six assignments remain tentative.

Daniel Bourdeau · posted · updated

Method: key recovered from ciphertext-only · Extent: complete

Summary. Tomokiyo lists this as the remaining undeciphered letter in espagnol 336 after Lasry's 2023 solutions of other items; that means no decipherment is known, contemporary or modern. The old view number leads to a different folio: this letter occupies Gallica views 336–340, with cipher on 337 and 338. A Spanish homophonic solver produced Spanish only after joined signs were transcribed as separate signs. Checking the manuscript against that output then gave both passages, including a report that the world would end or the king die around September. The shorter passage concerns Ponte or Aponte and Escudero. All 125 cipher tokens have proposed values; 119, or 95.2%, remain when six tentative assignments are excluded. No independent decipherment or contemporary key was found, so the decipherment has internal support only and has not been checked against an outside source. Devos's full 1950 key tables were not obtained.

01 The letter and its two cipher passages

The five written pages discuss money, services, court business, military news and marriage negotiations. The last page gives Madrid, 8 August 1596, and Matheo de Segura's signature. The cipher occupies only brief passages on f. 196v and f. 197r. The clear pages provide context; none supplies a decipherment of the encrypted words.

Direct Gallica access failed during this attempt. Full-resolution Wikimedia Commons mirrors supplied the images. The often-repeated locator “view 280” is not this letter: it shows folio 164. The correct image sequence is 336 = 196r, 337 = 196v, 338 = 197r, 339 = 197v and 340 = 198r.

02 Ponte, Escudero and a possible quarrel

Bold words were encrypted. Spaces, accents and punctuation are editorial; the surrounding clear Spanish is lightly normalized.

…que no quieren hazer gracia sino mera justicia, con que estaría yo contento si se guarda. A Ponte creo cierto se le deve amistad, y no sé si se conforman conforman él y Escudero, ni si ay razón de encuentro entre ellos, que si la huviesse a entrambos les costaría su dinero…
Cipher runs among the clear Spanish on folio 196 verso
F. 196v, view 337. The shorter passage: A Ponte/Aponte, friendship, and Escudero. BnF, via Wikimedia Commons.

The decrypted letters run apon / tecreocierto / conformanelyes / cudero. “A Ponte” and “Aponte” are alternative segmentations; no first name is established. The clear se conforman followed by cipher conforman is awkward and is kept as written. In sense, Segura discusses friendship owed to Ponte/Aponte, whether he and Escudero agree, and the financial consequences of a quarrel. The clear text that follows says Segura does not want the Constable's money diminished by it and will return to Toledo to finish these matters.

03 “El mundo se acabará o morirá el rey”

Un consejero muy grave me ha dicho que han hecho aquí junta sobre la cometa que ha avido estos días, y dizen que el mundo se acabará o morirá el rey por setiembre. Él bien cerca dello paresce que anda. Creo en Dios.

“A very weighty councillor has told me that they have held a meeting here about the comet that has appeared these days, and they say the world will end or the king will die around September. He seems to be very close to it. I believe in God.”

The clear introduction about a comet and the encrypted prediction on folio 197 recto
F. 197r, view 338. The first two cipher signs, which decrypt as di, stand at the end of the introductory line. BnF, via Wikimedia Commons.

The four decrypted lines are dizenqueelmundoseacabara / omoriraelreyporsetiem / breelbiencercadellopa / rescequeandacreoendios. The line break inside setiembre helps resolve an overwritten sign at the end of the second line. The final creo en Dios is kept; its punctuation and tone are interpretive. Segura is reporting a councillor's account. It does not establish an official council decision, and the comet has not been identified astronomically.

04 How the key was recovered

The first transcription had 114 tokens and wrongly treated several joined pairs as single signs. A Python homophonic solver failed; a guessed crib, pronostico, also failed and was discarded. A faster C# solver (simulated annealing) then tested three transcription variants, 250 restarts each, against the repository's Spanish Golden Age five-gram model. Only the variant that split the joined signs and temporarily merged dotted with undotted forms produced connected Spanish: dizen que el mundo, el rey, paresce que anda and Escudero.

The final segmentation was then fixed from the images, using the solver output only as a guide. Joined forms separate into qu, el and es; two signs attached to the clear introduction begin dizen. A final loop differs from the n-sign, and square and hooked c-like forms have different values. The final transcription keeps the dot distinctions and has 125 tokens in 35 sign classes. The key is a homophonic substitution with two nulls and one special sign for ll.

Published Descovar, Fuentes–Pimentel, Ibarra–Doria, Ibarra–Zúñiga and Cg.13 inventories were compared without finding a match. The full Devos 1950 tables were unavailable, so that comparison is still to be made. No external plaintext was used. The decoder and saved key reproduce the decipherment and generate the sign-by-sign display above.

05 What is still tentative

There are no unassigned tokens, but six singleton values are grade M, depending on context. All other token values are grade I, inferred. None is graded H or C because no original key or independent plaintext was obtained. The 95.2% figure counts the proposed values after excluding the M grades; it is not a probability of correctness.

Modern sign labelProposed valueWhere and why tentative
HdnullA, run 1: underdotted sign before apon
rdnullA, run 2: deletion gives creo
openCtA, run 2: singleton in cierto
QnA, run 3: singleton in conforman
XmB, line 2: overwritten sign in setiem-bre
udllB, line 3: dotted singleton in dello

Dotted signs are not all nulls: the values ad=r, Yd=i and the tentative ud=ll are kept. The reconstructed key covers only the signs that occur here. Further key material could confirm or revise the singletons, the segmentation of the proper name and the awkward wording of the shorter passage.

06 Sources and files

Transcriptions, failed searches, solver logs, measured coverage and limitations are preserved in the repository folder.