4012 50 3 89 4261 3 4018 05 79 28 4592 12 17 77
fatt a · la · N.S. · ora · de v o · parte c i p[arle]
50 = a · 3 = null · 4261 = N.S. · 4279 = promozione · 4564 = aggiustamento

Rome → the nuncio at Madrid · homophonic cipher with a nomenclator · 1718–1720

The Secretariat of State to the Nuncio in Spain, 1718–1720

Archivio Segreto Vaticano, i. 1025, Segretario di Stato, Spagna, dossier 364D · twenty-four ciphered despatches, 4 January 1718 to 6 January 1720 · DECODE R154–R177, 90 pages · catalogue item 249, rated “noted”: a transcription job behind a login

George Lasry reconstructed the key in October 2020 and his decipherment of the whole corpus is attached to every record · measured here, it gives values to 97.6 % of cipher tokens · the open part was the nomenclator, and 61 of its 189 groups without a value are recovered

Daniel Bourdeau · posted · updated

Method: read with known key · Extent: complete

Summary. The catalogue listed this dossier as a transcription job: DECODE calls the records “partially decrypted” and notes a contemporary decipherment written into the letters, so the text was presumed deciphered at the time and unpublished. Neither was so. The contemporary marginal decipherment is a few words a page, several of them wrong. Each of the twenty-four records carries, as attachments, a reconstructed key signed George Lasry, 24 October 2020, and an 800 KB file with his decipherment of the whole Spagna 364 corpus (volume 364C items 1–32 and 364D items 1–24), the digit stream divided into groups with the plaintext aligned underneath. Measured token by token, Lasry’s decipherment gives a value to 33,408 of the 34,243 cipher tokens in 364D, 97.6 per cent. The gap is in the nomenclator: his filed key lists 268 four-digit groups, the corpus uses 399, so 189 groups, 11.0 per cent of all nomenclator tokens, had no value. These need no cryptanalysis, because the key is alphabetical in runs and the corpus is 85,000 tokens long: each group without a value is bracketed by its neighbours in the key and occurs in a dozen contexts. Sixty-one groups are recovered here, among them promozione, aggiustamento, giurisdizione, tribunale, vascelli, Vicerè, corriere, cifra and negoziato, together with the whole calendar block, which resolves into two parallel Gennaio–Dicembre runs. Nomenclator tokens without a value fall from 11.0 to 3.4 per cent across the corpus. Extent: complete, from Lasry’s existing decipherment; nothing about the system was open. This page adds the measurement and the key extension.

01 The dossier and what was on the records

Spagna 364D is a register of the Secretariat of State’s outgoing correspondence to the nunciature at Madrid, described by the archive as “Lett. Orig. e cifre della Segretaria al nunzio, dal 4 gennaio 1718 al 6 gennaio 1720, ff. 1–403”. DECODE holds twenty-four of its ciphered items as records R154 to R177, one per item, ninety pages in all, classed homophonic and nomenclator, numerical, images behind a login. The catalogue entry here counted twenty-one, following DECODE’s own grouping, which leaves out the three items dated to 1717 (R172, R174, R176); they are in the same dossier and the same cipher, and all twenty-four are treated together below.

The twenty-four items are very unequal. Item 14 alone runs to 9,751 cipher tokens over twenty-one pages; six items are under three hundred tokens, and two are a single short paragraph. The full measured table:

itemrecordtokensdistinctitemrecordtokensdistinct
364D/1R1542,954177364D/13R16648497
364D/2R155768101364D/14R1679,751244
364D/3R1563,837159364D/15R16851994
364D/4R15716753364D/16R169715100
364D/5R1583,537169364D/17R1702,234187
364D/6R15922962364D/18R1711,175114
364D/7R16013149364D/19R172899119
364D/8R16156780364D/20R173770122
364D/9R1621,03495364D/21R1748046
364D/10R1632,468137364D/22R1757945
364D/11R16429672364D/23R176926108
364D/12R16553191364D/24R1779236

Each record carries three attachments. The first is the raw transcription of that item, made from the ASV images in 2016–17 by the DECODE transcribers EHum and KaJo: a bare stream of single digits, with the contemporary marginal glosses flagged in <PLAINTEXT> lines. The second is the key, headed #KEY: reconstructed, #TRANSCRIBER NAME: George Lasry, #DATE OF TRANSCRIPTION: October 24, 2020, catalogued as “ASV - S364” and dated 1717–1720. The third, identical on all twenty-four records, is the 800 KB corpus file with the segmented and deciphered text of both 364C and 364D.

This is the third target in this project where DECODE’s status field understated what was on the record: “partially decrypted” describes the contemporary marginal gloss and leaves out the modern decipherment filed beside it. The rule, applied here before any analysis, is to open every attachment on the record before treating the cipher as open.

02 The contemporary decipherment is fragmentary

The catalogue entry took DECODE’s note, “(Partly) deciphered within the letter”, to mean the despatches were deciphered on arrival and that the modern job was to copy out the decipherment. On the leaves themselves the gloss is thin: on 364D/1 it gives four to eight words over a page of solid cipher, set above the lines it belongs to. It is also unreliable. The transcribers recorded it faithfully and it contains <PLAINTEXT ? CvYeono>, <PLAINTEXT ? Ee> and <PLAINTEXT IT Narzio/Nunzio?>; where Lasry’s key decrypts the line, the gloss is sometimes wrong. It could not have supported a decipherment of these letters, and none was based on it.

Dateline Roma 11 Genn. 1718 above lines of run-together figures, each with Italian words written over it
Item 364D/1 (R154), Rome, 11 January 1718, the opening lines: runs of figures with the contemporary gloss set above them, beginning with the word the DECODE transcribers marked as CvYeono (“Crescono”). Image: Archivio Apostolico Vaticano, Segreteria di Stato, Spagna 364D f. 12r, via DECODE R154.

It does serve as a check. Where a gloss and the key agree over a run of words (“La St Sua. Hora deuo parteciparle” against the decrypted la N.S. … ora devo parteciparle), the key is confirmed on the page by a hand of 1718.

03 The system

From Lasry’s key sheet, whose editorial notes state the design outright:

The nomenclator is a series of runs, each ordered alphabetically within itself, and this is what makes the missing values recoverable:

rangecontents
4001–4078particles, pronouns and word endings, loosely alphabetical (ancora, ben, come, essere, fare, molto, quando, quanto, questo, tutto, -zione)
4079–4296nouns, titles and names, A–R (Arcivescovo, Armi, Auditore, Camera, Capitolo, Chiesa, Concistoro, Corte, Ecclesiastica, Guerra, Imperatore, Italia, Napoli, Pace, Regni, Religione)
4401–4479the same alphabet continued, S–V (risoluzione, Roma, S. Sede, scrittura, sempre, Sig.re, Spagna, spedizione, subito, tempo, troppo, Turco, Ungheria, Vienna)
4485–4531calendar words and the day numbers, 4501–4531 = 01–31 in plain order
4532–4543, 4552–4563two parallel month runs, Gennaio to Dicembre (see below)
4564–4619a second alphabetical run, A–T (aggiustamento, alcun, altro, attenzione, Breve, conforme, costì, dispaccio, giustizia, parola, possibile, pubblico, riflessione, stesso, tempi)
4681, 4706, 4870+scattered later blocks (Cristian-, contro, espulsione, present-)

04 How much Lasry’s decipherment covers, measured

The corpus file aligns each cipher group with its value in a column underneath. Parsing those columns gives a token-by-token count rather than an impression. Over the twenty-four items of 364D:

cipher tokensvaluedunvaluedread
Lasry’s filed reading34,24333,40883597.56 %
with the groups recovered here34,24333,52172297.89 %

Most of that 2.4 per cent residue comes from the transcription: a long tail of two-digit groups they could not read off the page, recorded as 70?, 00?, 6?, and single stray digits at line ends. A hundred and thirty-five of the 151 distinct residual groups occur once or twice. Closing them needs the images; the key is not at fault.

The nomenclator is a different matter, and it is the part that was unfinished:

distinct 4-digit groups in usewithout a valuetokens affected
364D alone, Lasry27997198  (8.0 %)
364D alone, with this session2796485  (3.4 %)
whole S364 corpus, Lasry399189715  (11.0 %)
whole S364 corpus, with this session399135221  (3.4 %)

05 Method: brackets and contexts

No cryptanalysis was needed and none was done. The method has two halves, and a value was only accepted when both agreed, or when one of them was overwhelming on its own.

The bracket. Because each run is alphabetical, a group without a value lies between its nearest neighbours that have one. 4467 sits between 4466 troppo and 4468 Turco, so it begins tr… to tu…. 4198 sits between 4197 maggior and 4200 necessari. 4233 sits between 4231 occasione and the opportun­ recovered at 4236, so it is of….

The contexts. The corpus is 84,961 tokens with everything else already decrypted, so each group without a value comes with its sentences. 4467 appears in “far retrocedere le numerose — che si dicono già incamminate” and “presi nelle proprie case con — di fanteria”. Both halves give truppe.

The agreement of the two is the check. 4469 lies between Turco and Vescovo, so it is va–ve; its contexts are “li — di Spagna hanno preso camino”, “il soccorso de’ — da mandarsi in Levante” and a list of “due palandre et undici barche”. Vascelli satisfies both and nothing else does.

The calendar block, and the control it supplies. The month codes were recovered together, as a structure. Lasry’s sheet has only three of them: 4535 “Apte”, 4539 Agosto, 4562 Novembre. The corpus uses 4533 to 4539 contiguously and 4560 to 4562, always after a day number and before passato or corrente. Two parallel Gennaio–Dicembre runs at 4532–4543 and 4552–4563 place Agosto at 4539 and Novembre at 4562 exactly, and make Lasry’s “Apte” Aprile, the fourth slot.

That scheme puts Luglio at 4538, and one sentence of the corpus confirms 4538 = Luglio. The corpus has “in data delli 4499 4538 passato, qual appunto fu il giorno della promozione del Sig. Card.” Giulio Alberoni was created cardinal by Clement XI on 12 July 1717. The month run, derived from an offset, lands on Luglio; the day code beside it is 12; and the sentence names the day of the promotion. Three independent things agree, and 4499 = 12 follows.

06 The sixty-one groups

Each value below is carried by at least two independent contexts, and in most cases by the alphabetical bracket as well. They are in nunzio1718/key_extra.txt in the repository, in the format of Lasry’s own key file.

groupvalueevidence
4007stesso“in questo stesso dispaccio”; “lo stesso Sig. Card. Alberoni”
4008ciò“è vero che ciò seguirebbe”; “spero che ciò sia per succedere” (26 tokens)
4013già“già è abbastanza risposto”; “non sarebbe già che un deplorabile effetto”
4030quel“diverso da quel prescrittomi negli indulti”
4033ogni“superare ogni renitenza”; “per togliere ogni equivoco”
4082articoli“i due consaputi articoli”; bracket Armi (4081) – Auditore (4084)
4086avvis-“divulgato ne’ pubblici avvisi”; “si contenti di avvisarmi”
4101cifra“con la sua cifra de 12”; “l’altra cifra unita a questo dispaccio”; bracket Christianità – Commission
4110Congregazion-“la Congregazione Concistoriale”; “i padri della Congregazione di San Filippo Neri”
4113Card.le“il Sig.e Card. Alberoni”, 25 tokens
4114corriere“col ritorno del corriere”; “la spedizione fatta costì del corriere sotto li 31”
4172general-“il Capitolo generale”; “il vicario generale di quella Chiesa”
4174giurisdizion-“nel libero esercizio della sua giurisdizione”; “l’autorità e la giurisdizione Ecclesiastica”
4176governo“per sua regola et governo”; “al buon governo di coteste Chiese”
4191istruzion-“le precise istruzioni che N.S. le diede”; bracket Imperatore – Italia
4193leg-“il Sig. Card. Legato di Ferrara”; “una lega da Valenza”
4198maniera“nella maniera già detta”; bracket maggior (4197) – necessari (4200)
4210Monsignorstands where the parallel plain copy reads “Mons.e Nunzio”
4216negoziat-“tutti i suoi negoziati conclusi in questa Corte”; bracket necessaria – notizie
4230obblig-“l’obbligazione che gliene avrà a N.S.”; “divotissimo et obbligatissimo servitore”
4233offici-“il tribunale et officiali della Nunziatura”; bracket occasione (4231) – opportun (4236)
4236opportun-“gli opportuni provvedimenti”; “valersene opportunamente”
4238ordin-“in ordine alla reintegrazione”; “disordini et inconvenienti” (36 tokens)
4239pace“turbare la pace della Christianità”; “pace o tregua”
4262particolar-“una giunta particolare deputata dal Re”; bracket N.S. (4261) – pendenz (4264)
4270port-“portarsi alla Corte”; “seco portati da Roma”; “importantissimo affare”
4279promozione“in proposito della promozione del Sig. Card. Alberoni”, 45 tokens — the commonest unvalued group in the corpus
4290Re Cattolico“specialmente dell’Imp.re et del —”; bracket Re (4289) – Spagna (4293). Less certain than the rest
4403risoluzion-“prenderà quelle risoluzioni che saranno più proprie”
4408scriv-“mi ha fatto l’onore di scrivermi”; “scrivercene subito”; bracket scrittura (4407) – S.M. Ces.a (4410)
4437subito“subito che si fosse concluso”; “risolversi subito, altrimenti” (a second homophone beside 4447)
4462tratt-“avesse potuto ivi trattare gli affari secondo le sue istruzioni”
4463Trattato“la conclusione del Trattato”; “il Trattato della neutralità d’Italia”
4465tribunal-“il tribunale della Nunziatura di Spagna”; “registrata in quel tribunale”
4467truppe“le numerose truppe già incamminate”; bracket troppo (4466) – Turco (4468)
4469vascelli“li vascelli di Spagna hanno preso camino”; bracket Turco (4468) – Vescovo (4470)
4474Vicerè“un espresso spedito dal Sig. Vicerè di Sardegna al Sig. Vicerè di Napoli”
4482corrente“li 31 del corrente” and the other day-of-month formulae. Probable rather than certain
4491quattro“li quattro motivi addotti”; sits beside cinque (4492)
449912“in data delli 12 Luglio passato, qual appunto fu il giorno della promozione”
4564aggiustamento“il bramato aggiustamento delle note pendenze”; “il consaputo aggiustamento”
4565accennat-“la seconda parte sopra accennata”; “gli accennati due indulti”
4569bisogn-“di non averne bisogno, et quando ve ne fosse bisogno”; bracket attenzione (4568) – Breve (4570)
4573contrari“furono sì contrari alla risoluzione presa dall’Imp.re”; bracket conforme – costì
4583giust-“niun Re potrebbe giustamente pretendere”; “senza darsi alcuna giusta occasione di querela”

And the calendar block, two parallel runs. Lasry’s own three values, italicised, fix both offsets:

GenFebMarAprMagGiuLugAgoSetOttNovDic
run A453245334534453545364537453845394540454145424543
run B455245534554455545564557455845594560456145624563

07 Two corrections to the filed key

Working through the runs turned up two errors in Lasry’s sheet, both of the kind that comes of reconstructing a key from short contexts rather than a whole corpus.

4474 is Vicerè. His entries 4470–4477 read Veso, Vesconi, Vescoua, Viscon, Vesconi|Vienna, Viscoui: garbled placeholders around a Vescovo / Vescovi group. 4474 sits inside that run, and its contexts name a viceroy: “un espresso spedito dal Sig. Vicerè di Sardegna al Sig. Vicerè di Napoli”, and again “ordine da legato al Vicerè di Valenza di esiliare il detto vicario generale”. It is Vicerè, and it belongs alphabetically where it sits.

4535 “Apte” is Aprile. The abbreviation came from a heading; the calendar run shows it is the fourth month slot, plainly written.

08 What the despatches are about

These are Clement XI’s Secretariat writing to the nuncio at Madrid in the two years when relations with Philip V collapsed: Alberoni’s Sardinian and Sicilian expeditions, the Quadruple Alliance, and Spain’s retaliation against the Roman jurisdiction. Two words run through everything and both of them were among the groups without a value, which shows what the gap in the key cost. The first is promozione, the 45-token group: whether Rome would make the promotion Alberoni wanted, and whether it should be held back as leverage. The second is aggiustamento, the settlement of the “note pendenze”: the giurisdizione, the tribunale of the nunciature in Spain, the abolition of the Nunziatura at Naples, the espulsione of the nuncio. Around them run the vascelli of Spain taking their course for the Levante, the Emperor’s truppe in the Ferrarese, the Turco, and the Trattato of the neutrality of Italy.

A specimen of the decrypted text from 364D/3, where the transcription is clean and every group in the span has a value. The Secretariat writes on the Spanish ambassador at Rome, Cardinal Acquaviva:

… Card.e Acquaviva, a cui non solo per mezzo mio ma da sé stesso ha procurato N.S. di fare conoscere l’indispensabile necessità di tal sospensione. Non mostrando d’appagarsene, pretese di rimuoverne N.S. con dedurre le sue ragioni compilate nella scrittura, di cui, non con altra mira, se le manda copia che per fare vedere costì la loro insussistenza et la stranezza delle [ragioni] con le quali si sostengono…

09 What remains open

10 Sources

Working files, the recovered key values and the measurement scripts: nunzio1718/.