A B C D J D F G H I E · J J B K E AD J E I P E H E
n i c o l o m a r t e · l l i p e r l e t t e r e
A=n B=i C=c D=o E=e F=m G=a H=r I=t J=l K=p

Florence → Galeotto de’ Medici, Rome · homophonic cipher with null symbols, inline in an Italian letter · 15 May 1521 · key recovered from the ciphertext alone, partial

Cardinal Giulio de’ Medici to Galeotto de’ Medici, 15 May 1521

Cardinal Giulio de’ Medici
fromCardinal Giulio de’ Medici

Go to the full text ↓

Twelve lines of cipher on one leaf of the Medici papers: a contributed key, recovered from the ciphertext alone, reads them as an Italian plan to have Nicolò Martelli seized.

Daniel Bourdeau · posted

Method: ciphertext-only break · Extent: partial (98% of cipher words sure, not the sign count) · On the map

Contributed by Willy Nilsson (solution) and Brice Dudout (verification)

At a glanceCiphertext-only break · partial (98% of cipher words sure, not the sign count)

The letter
A letter from Cardinal Giulio de’ Medici in Florence to Galeotto de’ Medici in Rome, dated “Floren. xv Maij” 1521. The salutation, farewell, date and address are in clear; the body is twelve lines of cipher.
Where
Archivio di Stato di Firenze, Mediceo avanti il Principato, filza 137, doc. 734, c. 742r. Catalogue 2395, which also holds doc. 733, a different cipher that stays open.
The cipher
A letter-for-symbol substitution in which several symbols can stand for one letter, with three recurring null symbols. No word division.
How it was deciphered
The key was found from the ciphertext alone by language-model scoring and annealing, on a transcription from the archive image, and refined on the image. It reproduces on all 259 active positions of the transcription, and an independent transcription by Brice Dudout agrees at 250 of the 259.
What it says
Intercepted letters show that Nicolò Martelli has not left; company is to be put close to him, as if he were his friend, using Messer Augustino and Messer Hieronimo, if it were possible for Signor Ascanio, prompted by Don Giovanni, to have him seized.
Still open
One conjectural letter, one unresolved final symbol, four struck symbols, and who the people named are. The contributor recorded no read share; counted from the reading here, 44 of its 45 words carry no hole mark.
Credit
Willy Nilsson coordinated the AI research agents that transcribed the leaf and recovered the key (issue #1159, pull request #1234). Brice Dudout, with Claude, compared the key with his own transcription.

01 The letter

Doc. 734 of filza 137 is a single leaf. Its heading reads Mag.ce vir amice mi char.me, then twelve lines of cipher, then Ben valete Floren. xv Maij and the year in Roman numerals, and an address sheet naming Galeotto de’ Medici in Rome. The catalogue entry takes the large autograph subscription as the cardinal’s; the notes of this folder do not go further into the writer. The neighbouring documents 732 and 735 are clear letters, and doc. 733, a different symbol cipher, is separate and not read.

Leaf 742r: the clear salutation, twelve lines of cipher, the farewell and date
c. 742r: the salutation, the twelve lines of cipher (the four struck symbols show on line 8), then Ben valete Floren. xv Maij and the date. Image: Archivio di Stato di Firenze, Mediceo avanti il Principato, filza 137, c. 742r, via the archive’s digital image (A0001673).

02 The cipher and its key

The transcription has 259 active cipher positions on twelve lines, with the struck passage and the final symbol left out of that count. Under the key, 238 positions give a letter (one of them conjectural) and 21 are nulls. Three symbols, N, O and S, are nulls; the key gives n to three different symbols (A, M, Z) and t, c, s and r to two each. The key as recovered, with the contributor’s symbol labels:

symbolABCDEFGHIJKLMPQR
letternicoemartlpgntdc
symbolTUVWXYZAAADNOSABAC
letterqufshbnsr?nullnullnull??

The full key, with the shape and evidence recorded for each symbol, is KEY.tsv in the folder. AB (the blotted first symbol of the struck passage) and AC (the final symbol) have no value, and AD is conjectural.

03 The reading

The Italian reading supplies spaces, accents, punctuation and capitals to the raw decryption; the English follows the translation file, which reads pe[?r] as “according to” and leaves open who is to act.

Nicolo Martelli pe[?r] lettere sue intercepte non è partito di costi. Meteteli qualche compagnia presso come se fussi suo amico per hauerlo in le mani, adoperando messere Augustino, messer Hieronimo, quando fussi possibile che ’l signore Ascanio, inducto da don Giouanni, lo facessi pigliare. ⟨AC⟩

According to intercepted letters of his, Nicolò Martelli has not left where you are. Put some company close to him, as if he were his friend, in order to get hold of him, making use of Messer Augustino, Messer Hieronimo—if it were possible for Signor Ascanio, prompted by Don Giovanni, to have him seized. ⟨unresolved final symbol⟩

The people named have not been independently identified, so the text is taken for its sense only; no source in the notes says who they were. Meteteli (for metteteli) is the spelling the decryption gives and is kept.

04 How the key was found

On 1 December 2026 the research agents transcribed the twelve lines from the archive image. They scored symbol assignments on the first nine lines with an Italian character four-gram model built from four Machiavelli editions. An unconstrained search collapsed to a single repeated letter and was discarded. A search on provisionally merged symbols produced the name Nicolo Martelli and the passage about intercepted letters. Further checks on the image resolved several symbol distinctions and identified three null symbols, and all twelve lines informed the final reading. No plaintext of the body was used.

Brice Dudout, working with Claude, applied the key to a transcription he had prepared independently in November. He reported 250 matching values at 259 active positions; the nine differences are at shapes his transcription had merged. The maintainers checked the opening against the scan. A maintainer review with Claude replayed the key on the transcription (all 259 positions reproduce) and read the Italian as a coherent early sixteenth-century dispatch, grade B; it did not see the scans.

The notes record no frozen held-out test and no read share. Counted from reading-it.txt, the reading has 45 words, one of which carries a hole mark (pe[?r]), so 44 of 45 are free of one. That is a count of hole marks, not a measured score of the key, and the unresolved final symbol and the struck symbols are outside it.

05 What remains open

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.

Encrypted body, c. 742r read in part

Intercepted letters place Nicolò Martelli nearby. The writer asks that a companion be placed close to him to help secure his capture.

Builds coherent sentences, but under the read bar of 95% of words read as sense; the holes are marked in the reading.

Transcription

transcription-revised.txt

# Revised transcription after candidate key and independent shape rechecks.
# 02.06: L separated as AD (small epsilon-like double hook, unlike the long zeta L).
# 03.10: Y -> I (root independent image check supports ordinary curved X).
# 06.06: F -> N (root independent image check supports p, stem left of loop).
# 08.22: B -> T (postdeletion sign has closed 8 form / short tail, root flagged B/T).
# Deleted four-sign sequence remains bracketed. AC remains boundary ambiguity.
01 A B C D J D F G H I E
02 J J B K E AD J E I P E H E W U E B A I E H C E K I E
03 M D A E K N O G H I B I D Q B R D W I B N S
04 F E I E I E J B S O T U G J C X E C D F K G L A B
05 N S G K H E W N O W D C D F E W E V U N W O W B W U D
06 G F B C D N S K E H X G U E H J D B M J E F G A B
07 G Q D K E H G Z Q D F E AA N W E H E G U L U W I B
08 A D F E W W E H X B E H D A B F D [AB U L U] T U G A
09 Q D V U W N W B K D W N W B Y B J E C X E J W B
10 L A D H E G W R G M B D B A Q U C I D Q G
11 Q D M L B D U G A M B J D V G C E W N W B
12 K B L J B G H E N S O [AC]
Decryption

decryption.txt

01 nicolomarte
02 lliperletteresueintercepte
03 nonepartitodicosti
04 meteteliqualchecompagni
05 apressocomesefussisuo
06 amicoperhauerloinlemani
07 adoperandomessereaugusti
08 nomesserhieronimoquan
09 dofussipossibilechelsi
10 gnoreascanioinductoda
11 dongiouannilofacessi
12 pigliare
Reading

reading-it.txt

Nicolo Martelli pe[?r] lettere sue intercepte non è partito di costì. Meteteli qualche compagnia presso come se fussi suo amico per hauerlo in le mani, adoperando messere Augustino, messer Hieronimo, quando fussi possibile che ’l signore Ascanio, inducto da don Giouanni, lo facessi pigliare. ⟨AC⟩
Translation

translation-en.txt

According to intercepted letters of his, Nicolò Martelli has not left where you are. Put some company close to him, as if he were his friend, in order to get hold of him, making use of Messer Augustino, Messer Hieronimo—if it were possible for Signor Ascanio, prompted by Don Giovanni, to have him seized. ⟨unresolved final sign⟩

Key: KEY.tsv

06 Sources

Transcription, key, reading and notes: targets/medici1521/.

Cite this page

Willy Nilsson and Brice Dudout, “Cardinal Giulio de’ Medici to Galeotto de’ Medici, 15 May 1521”, Cyphersolver, posted 4 December 2026, repository commit 980f16abb3, https://cyphersolver.com/medici1521.html.