The Spanish ambassador at Venice to Ferdinand and Isabella, 24 February 1504: the cipher rebuilt and read

Document
Paris, BnF, ms. Espagnol 318, no. 93, f. 118r-v (Gallica btv1b52503046q, views 446-447). A letter all in cipher, Venice, 24 February 1504. By the catalogue: Lorenzo Suárez de Figueroa, Spanish ambassador at Venice, to Ferdinand and Isabella. The page has no signature and no address.
New
This is the first reading known to us. The key is rebuilt from the letter. We found no period decipherment (the searches are listed in the folder). The Spanish court read this letter in 1504, so a period decipherment existed; we did not find it.
State
1,094 of 1,202 = 91.0 % of the tokens have a firm value; 1,170 of 1,202 = 97.3 % with the probable values. Eight code words have no value. The reading has gaps.
Not the cipher of no. 94
The neighbour letter, no. 94 (its page), has another key. The two keys have the same build and share seven signs.

The key

Signs for letters: 55 sign types for 24 letters and "ll". A common letter has 2 to 5 signs. Four joined groups stand for one letter each: gto = t, gt = e, otto = n, tto = o. The names of the signs are ours. The image of a sign is cut from the three lines below.

sign ppa94 times+a31 timessign p+p+a14 timesasign 2=2=b9 timescboncettcboncebsign dldlc34 timescsign n-n-d26 timestbd9 times=8doncedsign ^^e63 timesgte13 timessign .ll..ll.e11 timessign 44e9 timeseXf9 timesfsign m4m4g21 timesg2~h3 times7h2 timeshsign mmi44 timessign 55i25 timesiPj3 timesjsign eel27 timessign cfcfl8 timeslqpill6 timesllsign YYm21 timespim4 timesY=m2 timesmfsn39 timesotton19 timessign ffffn6 timesnsign ooooo61 timessign ttottoo6 timessign iriro4 times#3o2 timesooonceoC.p15 timestb2poncepsign h4h4q7 timestriqonceqsign IIIIIIr62 timessign psipsir7 timesXor7 timesrsign :/:/s27 timessign O.O.s11 timestfs3 timesy-soncessign gtogtot41 timesX:t4 timestsign qpqpu34 timesusign pqpqv11 timesvExoncexsign u_u_y27 timesyy4 timesyZ=z5 timesu3z2 timesz

In each box: the sign, our name for it, its letter, and how many times the letter has it in the 50 lines. A box with no image: the sign is not in the three lines below. A question mark: the value is a guess. The shapes in words: transcription/SIGNS.md.

Code words: 72 words of two or three small letters. A code word stands for a word, or for a syllable inside a word. The code words of the three lines:

Code wordValueGradePlaces in the letter
gaddeA: firm, fixed by three or more clear words25
gaedarB: probable, fits every place, but few places2
hegenA: firm, fixed by three or more clear words21
hieen elB: probable, fits every place, but few places2
hifesA: firm, fixed by three or more clear words10
hoeelA: firm, fixed by three or more clear words9
hugestaA: firm, fixed by three or more clear words10
matnoA: firm, fixed by three or more clear words16
nanpapaB: probable, fits every place, but few places4
petsiA: firm, fixed by three or more clear words10
risunB: probable, fits every place, but few places3

The code list follows the alphabet: code words in f stand for words in a or b, code words in g for words in c or d, and so on to r for s to y. All 64 code words with a value, the 8 with none, and a note on each corrected or doubtful value: KEY_TABLE.md. The key as a table for the decoder: key.py.

Worked example

Each box holds one token of the settled transcription: its image, its name, and its value by the key. The line under a group of boxes gives the word; the word division is ours. Z and ÷ are the two pause marks of the cipher.

f. 118r, line 8, tokens 1 to 23: the face and the heart

Cipher line: f. 118r, line 8, tokens 1 to 23: the face and the heart
Espagnol 318, f. 118r, line 8 (set in two rows here). Source: gallica.bnf.fr / BnF.
sign psipsirsign ooooosign :/:/ssign gtogtotsign IIIIIIrsign ooooorostrosign ZZpause sign u_u_yysign hoehoeelelsign n-n-dsign ttottoosign eelsign ooooosign IIIIIIrdolorsign hiehieen elen elsign dldlcsign ooooosign IIIIIIrsign ppasign dldlcsign ttottoosign ffffncoraçonsign ZZpause 

rostro, y el dolor en el coraçón

face, and the pain in the heart

The sentence begins in line 7: the joy "estava en el" face, and the pain in the heart. This is the ambassador's own view of how Venice took the news of the truce. The last six tokens of the line begin a sentence that is not settled; the example stops before them. The first transcription pass has the same token in 23 of these 23 places, and the blind second pass in 23.

f. 118r, line 22: the brief of the Pope

Cipher line: f. 118r, line 22: the brief of the Pope
Espagnol 318, f. 118r, line 22 (set in two rows here). Source: gallica.bnf.fr / BnF.
sign ZZpause sign ÷÷pause sign hoehoeelElsign nannanpapaPapasign YYmsign 44emesign hifhifessign dldlcsign IIIIIIrsign 55isign pqpqvsign mmisign iriroescriviosign risrisununsign 2=2=bsign IIIIIIrsign ^^esign pqpqvsign .ll..ll.ebrevesign ZZpause sign m4m4gsign IIIIIIrsign ppasign gadgaddesign dldlcsign 55isign heghegengradecien-

El Papa me escrivió un breve, gradecien-

The Pope wrote me a brief, to thank

The last word goes on in line 23 ("gradeciendome"). Three code words stand for syllables here: hif = es in "es-crivio", gad = de and heg = en in "gra-de-ci-en-". Sanuto's diary has the same fact from the other side: on 23 February 1504 the Spanish ambassador said in the College that the legate had given him a brief of the Pope that thanked him (vol. 5, col. 891). The first transcription pass has the same token in 27 of these 27 places, and the blind second pass in 26.

f. 118v, line 5: Louis d'Ars in Venosa

Cipher line: f. 118v, line 5: Louis d'Ars in Venosa
Espagnol 318, f. 118v, line 5 (set in two rows here). Source: gallica.bnf.fr / BnF.
sign h4h4qsign qpqpusign ^^esign cfcflquelsign eelsign qpqpusign u_u_ysign :/:/sLuyssign gaegaedarsign dldlcsign ^^ed'Arcesign hughugestaestasign petpetsisign gtogtotsign mmisign ppasign n-n-dsign ooooositiadosign heghegenensign pqpqvsign ^^esign matmatnosign O.O.ssign p+p+aVenosasign ZZpause 

quel Luys d'Arce está sitiado en Venosa.

that Louis d'Ars is besieged in Venosa.

The first word begins in line 4 ("a-quel"). The names are spelled with code words for their syllables: gae = dar in "d'Ar-ce", mat = no in "Ve-no-sa". Sanuto, Zurita and Guicciardini have Louis d'Ars shut in Venosa in February 1504. The first transcription pass has the same token in 25 of these 25 places, and the blind second pass in 25.

How sure

MeasureValue
Cipher lines50, on two pages
Tokens with a firm value (grade A)1,094 of 1,202 = 91.0 %
Tokens with a firm or a probable value (grades A and B)1,170 of 1,202 = 97.3 %
Tokens identical in two transcription passes, the second one blind96.2 % (recto) and 93.6 % (verso)
Five-letter-group score of the key-11.17; 500 shuffled keys: mean -15.87, best -14.68; real Spanish: -10.87
Blind audit of the key, first run27 of 27 hidden values restored (12 signs, 15 code words)
Blind audit, second run on the 18 weak values12 exact, 1 near, 5 wrong
The alphabet rule of the code listrank correlation 0.69 at the audit, 0.81 with the corrected key; 0 of 20,000 shuffled keys reach it

The blind audit. A second run of the model, with a new context, hid 27 values of the key, drawn at random. A fresh reader got the transcription, the rest of the key, and the decode with gaps. It restored 27 of 27. Its limits: the 27 values all occur 3 times or more; to restore one sign of a letter that has several signs is easy; the fresh reader is a model of the same family as the first reader. In the second run, two of the five wrong answers were right against the key: the code words hog and ren were the wrong way round. The key is corrected: hog = estos, ren = Venecianos. The summary of the audit: evidence/audit.md.

Outside check. The content agrees with the diary of Marino Sanuto for the same days (Diarii, vol. 5). Col. 880, under 22 February 1504: a letter from the Venetian ambassador in France brings the truce "per 3 anni, con questo, chi ha si tegna". Col. 891, 23 February: the Spanish ambassador comes to the College and is told of the truce; he says that the legate gave him "uno breve dil papa che lo ringratiava". Cols. 846 and 910: Louis d'Ars is in Venosa. So the content proves the year 1504. The first reader says that it did not open Sanuto. The table of the facts, with Zurita and Guicciardini: README.md.

What is not resolved

The reading, line by line, with an English translation: READING.md. The machine decode: DECODE_RAW.md. Folder: espagnol-318-no93.