At a glanceKey from adjacent plaintext · complete
- The letters
- Pfalzgraf Johann Casimir of Zweibrücken-Kleeburg to Ludwig Camerarius: n. 138 (February 1629) and n. 140 (Calmar, 3 July 1629), part of a series of letters of 1624–1629.
- Where
- Bayerische Staatsbibliothek, Munich, Clm 10382 (Collectio Camerariana 32), digitised microfilm MDZ bsb00112117, scans 470 and 476–477. Not on DECODE.
- The cipher
- A German letter cipher of two-digit numbers written run together: each letter has three numbers in a block of consecutive values (14–16 a, 17–19 g, 20–22 n …), and 86 and up are nulls. Names are spelled; no nomenclator was seen.
- How it was rebuilt
- From the word-by-word decipherment written above the lines of scan 470, then frozen and measured once on scans 476–477, transcribed after the freeze: 0.873 of characters against 0.170 for the best of 200 shuffled keys.
- What it says
- Money, a sum in reichsthalers, a monthly payment, the King of Denmark, commerce, and later in the year freedom and a marriage. The content is the period decipherment’s, not new.
- Still open
- The other cipher scans of the series and the clear German text around the groups are not transcribed; numbers 1–13 and 56–58 were not seen.
- Credit
- WAINUT found the cipher while paging the volume (lead 2187). Brice Dudout (Europe chiffrée) transcribed the groups, rebuilt and tested the key, working with Claude Opus 5.5 agents. The decipherment is the clerk’s of 1629.
01 The letters
Ludwig Camerarius, the Palatine councillor who served the exiled Frederick V and then Sweden, kept a large correspondence, now the Collectio Camerariana in Munich. Among it are letters of Pfalzgraf Johann Casimir of Zweibrücken-Kleeburg, brother-in-law of Gustavus Adolphus, written between 1624 and 1629 (within nos. 106–164 of Clm 10382). Several carry passages in numbers, and a clerk wrote the decipherment word by word above them.
The two letters used here are n. 138 (February 1629, scan 470) and n. 140 (Calmar, 3 July 1629, scans 476–477). Other scans with cipher (418, 447–448, 469, 471, 475, 482, 486) were not transcribed. Halm’s catalogue of 1874 lists the letters without a cipher note; no edition was found.
02 The key and its test
The numbers on scan 470 were split at the word boundaries the glosses give, and each number was given the letter it stands for most often. The values fall into blocks of three consecutive numbers per letter, in the order a, g, n, t, b, h, o, u/v, c, i, p, w, d, k, x, e, l, r, y, f, m, s, z, so the table was extended by block. The key was frozen by SHA-256 together with the protocol and the transcription before scans 476–477 were transcribed.
The measurement used the 33 glossed groups of the held-out letter whose gloss has as many letters as numbers (165 characters). The frozen key renders 0.873 of the characters and 0.667 of the whole words; the best of 200 keys with the letters permuted renders 0.170 and 0.030. The thresholds, fixed in advance, were 0.85 and a margin of 0.30. Afterwards two values were changed, outside the test: 71–73 = y rather than i (the held-out part has freyheit, meyne, heyrath), and 44–46 = p from one word, party.
This is not the cipher of the neighbouring pieces: Oxenstierna’s letter of 1625 in the same volume uses another letter cipher, in Latin, and Clm 10380 n. 60–61 (1636) a three- and four-digit nomenclator. The letter of Carl Pawel to Frederick V of 1624 in the same volume uses this alphabet shifted by three (targets/pawel1624).
03 What remains uncertain
- Of the 127 glossed groups not cut by the binding, 99 decode exactly as glossed. Most of the rest are the clerk’s spellings (heuraht, bunt, nemmen) or numbers hard to tell apart on the microfilm (69/64, 23/24, 3/5, 4/9).
- Unglossed groups on the two scans: 4 non-null groups, of which 1 certain (wie), 1 probable (daler, the end of Reichsthaler cut at the binding) and 2 unresolved.
- Numbers 1–13 and 56–58 were not seen, and 44–46 = p rests on one word.
- One reader (an agent) transcribed from a 1,334-pixel microfilm; no human has checked the numbers against the images.
- The clear German text of the letters is not transcribed, so the groups are given as a word list with their glosses, not as letters.
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.
n. 138 (scan 470) and n. 140 (scans 476-477): cipher groups with their contemporary glosses not prose
Johann Casimir writes to Camerarius in 1629 about money and troops for the Swedish side (n. 138: sums in Reichsthaler, Denmark, commerce and licences) and, from Calmar on 3 July, about Prince Radziwiłł, his son's marriage, the hereditary kingdom, Lithuania, the Grand Duke and an alliance with Sweden (n. 140).
Transcription
# Lead 2187: BSB Clm 10382 (Collectio Camerariana 32), letters of Pfalzgraf Johann Casimir to Ludwig Camerarius. # MDZ bsb00112117, scan 470 (n. 138, Feb 1629) and scans 476-477 (n. 140, Calmar, 3 July 1629). Microfilm, 1334 px wide. # Transcribed by eye from the images (Claude Opus 5.5 agent for Brice Dudout), 4 Nov 2026. Scan 470 = training part; # scans 476-477 = held-out part, transcribed only after the key was frozen (see validation.txt). # One row per cipher group as written (numbers run together on the leaf, split here at the glossed word boundaries). # Columns: id <TAB> line <TAB> numbers <TAB> contemporary interlinear gloss as written <TAB> status # status: ok = read without major doubt; doubt = one number or the gloss uncertain; cut = line end lost in the binding. # Numbers 86 and up are nulls. The clear German text of the letters around the cipher groups is not transcribed here. ## scan 470 (n. 138), training 470.01 1 17 62 65 23 gelt doubt 470.02 1 83 37 68 42 38 30 25 63 20 zurichten ok 470.03 1 53 65 62 41 21 kleine cut 470.04 2 81 35 77 79 15 Summa ok 470.05 2 80 32 so ok 470.06 2 18 68 33 82 81 63 21 grossen ok 470.07 3 60 62 68 38 43 23 36 exercitu doubt 470.08 3 22 41 23 mit/nit doubt 470.09 3 35 42 62 65 viel ok 470.10 3 36 63 68 80 38 30 65 15 17 Vorschlag cut 470.11 4 81 32 66 40 30 63 solche ok 470.12 4 70 32 21 15 23 66 41 39 31 Monatlich doubt 470.13 5 16 37 75 auff ok 470.14 5 64 42 20 63 eine ok 470.15 5 17 36 23 62 gute ok 470.16 5 81 36 79 77 16 Summa ok 470.17 5 70 62 42 38 39 Reichsthaler cut 470.18 6 50 14 66 62 69 (continuation of Reichsthaler?) doubt 470.19 6 63 68 54 36 21 51 42 18 63 20 erkundigen ok 470.20 7 47 43 63 95 N. (no gloss) doubt 470.21 7 36 41 62 66 viel ok 470.22 7 81 42 64 sie ok 470.23 7 26 62 71 bei ok 470.24 7 50 63 21 20 64 27 81 15 69 53 Dennemarck ? doubt 470.25 8 18 62 24 29 16 21 gethan ok 470.26 8 52 62 69 der (+ 89 88 / 98 no gloss) ok 470.27 8 89 88 98 (no gloss) doubt 470.28 9 39 33 77 79 63 70 23 42 64 20 Commercien doubt 470.29 9 69 62 61 Rex ok 470.30 9 41 29 70 63 22 ihren/ihnen doubt 470.31 9 15 36 76 auff ok 470.32 10 51 64 70 der ok 470.33 10 74 62 42 20 52 63 Feinde ok 470.34 10 66 15 20 51 23 Landt ok 470.35 10 83 36 18 62 81 24 16 23 25 62 zugestatten cut 470.36 11 42 21 in ok 470.37 11 47 43 66 65 64 20 81 Million(en) doubt 470.38 11 82 43 62 die/sie doubt 470.39 11 26 63 98 62 18 23 bewegt doubt 470.40 11 49 64 68 50 62 21 werden ok 470.41 12 81 32 66 65 64 20 sollen ok 470.42 13 89 92 93 95 (no gloss, after "frei:") doubt 470.43 13 50 15 80 dass ok 470.44 13 81 42 62 die/sie doubt 470.45 13 43 30 20 62 21 ihnen ok 470.46 13 50 43 63 die ok 470.47 13 88 89 (no gloss) doubt 470.48 14 88 95 (no gloss) doubt 470.49 14 66 41 38 62 20 23 64 22 licenten ok 470.50 14 21 93 40 30 25 nicht doubt 470.51 14 83 35 zu ok 470.52 14 47 41 63 50 62 68 wieder doubt 470.53 15 81 64 41 21 sein ok 470.54 15 66 15 82 80 62 20 lassen ok 470.55 15 41 29 20 63 ihnen cut 470.56 16 82 34 66 40 29 63 81 solches ok 470.57 16 84 37 zu ok 470.58 16 47 42 63 51 62 70 wieder ok 470.59 16 81 32 so ok 470.60 16 47 62 70 63 were ok 470.61 16 64 80 erst cut 470.62 17 77 42 23 24 mitt ok 470.63 17 18 35 25 63 21 guten ok 470.64 17 70 16 25 42 32 21 43 26 36 82 rationibus ok 470.65 17 84 37 zu ok 470.66 18 80 23 70 42 69 63 22 (gloss not read) doubt 470.67 18 96 94 93 (no gloss) doubt 470.68 18 81 41 62 die/sie (+89) doubt 470.69 18 82 32 20 50 62 68 21 sondern ok 470.70 19 52 42 64 die ok 470.71 19 74 63 41 20 51 Feind ok 470.72 19 50 35 68 38 29 durch ok 470.73 19 82 33 66 39 31 62 solche ok 470.74 20 18 68 16 36 41 69 23 gravirt doubt 470.75 20 53 16 37 76 77 15 20 Kaufman ok 470.76 20 80 63 42 21 62 seine ok 470.77 21 47 14 29 70 62 22 wahren ok 470.78 21 81 62 23 83 64 22 setzen ok 470.79 22 89 (no gloss) doubt 470.80 22 22 35 23 84 62 21 nutzen (+92 before) doubt 470.81 22 15 65 81 als (+89 93) ok 470.82 22 82 40 30 16 50 schaden cut 470.83 23 49 74 65 62 18 63 pflege doubt 470.84 23 85 37 zu ok 470.85 23 29 16 27 64 21 haben ok 470.86 23 32 29 20 ohn (margin) ok 470.87 24 89 93 (no gloss) doubt 470.88 24 81 32 65 40 30 63 solche ok 470.89 24 35 20 50 und ok 470.90 25 77 41 23 25 62 67 mittel ok 470.91 25 21 41 39 29 23 nicht ok 470.92 25 78 36 17 67 41 38 30 möglich ok 470.93 26 82 32 64 38 30 solch doubt 470.94 26 19 70 33 81 groß ok 470.95 26 47 62 69 40 53 werck ok 470.96 26 18 62 17 64 21 gegen ok 470.97 27 81 32 so ok 470.98 27 17 68 33 80 82 63 21 grossen (gloss "mächtig"?) doubt 470.99 27 76 62 43 22 51 23 Feindt ok 470.100 27 52 63 70 der ok ## scans 476-477 (n. 140, Calmar 3 July 1629), held out 476.01 1 29 62 35 68 14 30 23 Heurath doubt 476.02 1 68 15 25 83 Radziwil (cut) cut 476.03 2 81 32 29 20 Sohn ok 476.04 2 77 62 41 22 Mein ok 476.05 2 27 68 37 51 63 70 Bruder ok 476.06 3 78 64 42 21 64 Meyne doubt 476.07 3 43 40 30 Ich (+86 87 no gloss) ok 476.08 5 69 14 84 73 35 42 67 Radziül doubt 476.09 5 15 21 43 animirt (cut) cut 476.10 6 65 41 26 62 70 24 63 25 libertatem doubt 476.11 6 83 36 zu ok 476.12 6 78 15 42 21 29 manteniren (cut) cut 476.13 8 62 69 27 Erb(königreich) doubt 476.14 8 68 63 42 40 30 (Erbkönig)reich doubt 476.15 9 53 32 21 89 88 41 17 80 Königs (with 89 88 in the middle) doubt 476.16 9 29 16 35 80 Hauses (cut) cut 476.17 9 49 62 68 63 Österreich (cut, margin) cut 476.18 10 63 70 76 Erb doubt 476.19 10 69 64 Reich (cut) cut 476.20 11 29 63 35 69 15 29 24 (der) Heyrath (+90 95) doubt 477.01 1 70 16 85 73 37 42 66 Razuill doubt 477.02 1 77 42 25 mitt ok 477.03 1 81 62 42 21 63 69 Seiner ok 477.04 1 44 15 69 29 41 party doubt 477.05 2 15 21 43 77 42 68 69 animirt (+95 89) doubt 477.06 2 47 63 69 51 62 21 werden ok 477.07 3 82 41 39 30 sich ok 477.08 3 84 36 79 zum (+89 94) ok 477.09 3 18 69 33 74 35 68 80 23 62 21 Grosfürsten doubt 477.10 3 41 20 in (+89) ok 477.11 4 65 42 24 25 15 47 62 21 Littau doubt 477.12 4 83 36 78 16 39 29 62 21 zumachen ok 477.13 5 77 41 24 mitt ok 477.14 5 80 47 62 52 64 21 Schweden doubt 477.15 5 42 20 in ok 477.16 5 26 36 22 23 Bund ok 477.17 6 63 42 20 84 36 66 14 81 82 63 21 (ein)zulassen doubt 477.18 6 65 41 64 26 63 69 lieber ok 477.19 6 84 35 77 zum ok 477.20 7 53 32 21 42 19 König ok 477.21 7 20 62 77 79 64 22 nehmen doubt 477.22 7 15 66 80 als ok 477.23 7 42 31 68 62 ihre ok 477.24 8 64 70 48 33 69 26 62 21 63 erworben doubt 477.25 8 75 70 63 71 30 62 73 25 Freyheit ok 477.26 8 80 32 so ok 477.27 8-9 82 29 15 21 24 65 42 38 29 schändlich doubt 477.28 9 36 63 69 66 41 68 64 21 verlieren doubt 477.29 10 26 70 36 52 64 70 21 Brüdern ok 477.30 10 17 62 81 39 29 69 41 26 62 22 geschrieben doubt
Decryption
# Decryption of transcription.txt with key.tsv (published key: frozen key + 71-73 = y and 44-46 = p, see key.tsv). # Columns: id <TAB> numbers <TAB> decoded (nulls dropped, '·' = number with no value) <TAB> contemporary gloss (normalised) <TAB> agrees # agrees: yes = decode equals the gloss letter for letter (u/v, i/j/y, umlauts folded); no = differs (copy slip, a doubtful number, or the # cipher clerk's spelling); n/a = no gloss on the leaf (these groups are read in the 'Unglossed groups' section at the end). ## scan 470 (n. 138) 470.01 17 62 65 23 gelt gelt yes 470.02 83 37 68 42 38 30 25 63 20 zurichten zurichten yes 470.03 53 65 62 41 21 klein kleine no 470.04 81 35 77 79 15 summa summa yes 470.05 80 32 so so yes 470.06 18 68 33 82 81 63 21 grossen grossen yes 470.07 60 62 68 38 43 23 36 xercitu exercitu no 470.08 22 41 23 nit nit yes 470.09 35 42 62 65 uiel viel yes 470.10 36 63 68 80 38 30 65 15 17 uerschlag vorschlag no 470.11 81 32 66 40 30 63 solche solche yes 470.12 70 32 21 15 23 66 41 39 31 ronatlich monatlich no 470.13 16 37 75 auf auf yes 470.14 64 42 20 63 eine eine yes 470.15 17 36 23 62 gute gute yes 470.16 81 36 79 77 16 summa summa yes 470.17 70 62 42 38 39 reicc reichsthaler no 470.18 50 14 66 62 69 daler - n/a 470.19 63 68 54 36 21 51 42 18 63 20 erkundigen erkundigen yes 470.20 47 43 63 95 wie - n/a 470.21 36 41 62 66 uiel viel yes 470.22 81 42 64 sie sie yes 470.23 26 62 71 bey bei yes 470.24 50 63 21 20 64 27 81 15 69 53 dennebsark dennemarck no 470.25 18 62 24 29 16 21 gethan gethan yes 470.26 52 62 69 der der yes 470.27 89 88 98 - n/a 470.28 39 33 77 79 63 70 23 42 64 20 commertien commertien yes 470.29 69 62 61 rex rex yes 470.30 41 29 70 63 22 ihren ihren yes 470.31 15 36 76 auf auf yes 470.32 51 64 70 der der yes 470.33 74 62 42 20 52 63 feinde feinde yes 470.34 66 15 20 51 23 landt landt yes 470.35 83 36 18 62 81 24 16 23 25 62 zugestatte zugestatten no 470.36 42 21 in in yes 470.37 47 43 66 65 64 20 81 willens million no 470.38 82 43 62 sie sie yes 470.39 26 63 98 62 18 23 beegt bewegt no 470.40 49 64 68 50 62 21 werden werden yes 470.41 81 32 66 65 64 20 sollen sollen yes 470.42 89 92 93 95 - n/a 470.43 50 15 80 das das yes 470.44 81 42 62 sie sie yes 470.45 43 30 20 62 21 ihnen ihnen yes 470.46 50 43 63 die die yes 470.47 88 89 - n/a 470.48 88 95 - n/a 470.49 66 41 38 62 20 23 64 22 licenten licenten yes 470.50 21 93 40 30 25 ncht nicht no 470.51 83 35 zu zu yes 470.52 47 41 63 50 62 68 wieder wieder yes 470.53 81 64 41 21 sein sein yes 470.54 66 15 82 80 62 20 lassen lassen yes 470.55 41 29 20 63 ihne ihnen no 470.56 82 34 66 40 29 63 81 solches solches yes 470.57 84 37 zu zu yes 470.58 47 42 63 51 62 70 wieder wieder yes 470.59 81 32 so so yes 470.60 47 62 70 63 were were yes 470.61 64 80 es es yes 470.62 77 42 23 24 mitt mitt yes 470.63 18 35 25 63 21 guten guten yes 470.64 70 16 25 42 32 21 43 26 36 82 rationibus rationibus yes 470.65 84 37 zu zu yes 470.66 80 23 70 42 69 63 22 striren - n/a 470.67 96 94 93 - n/a 470.68 81 41 62 sie sie yes 470.69 82 32 20 50 62 68 21 sondern sondern yes 470.70 52 42 64 die die yes 470.71 74 63 41 20 51 feind feind yes 470.72 50 35 68 38 29 durch durch yes 470.73 82 33 66 39 31 62 solche solche yes 470.74 18 68 16 36 41 69 23 grauirt gravirt yes 470.75 53 16 37 76 77 15 20 kaufman kaufman yes 470.76 80 63 42 21 62 seine seine yes 470.77 47 14 29 70 62 22 wahren wahren yes 470.78 81 62 23 83 64 22 setzen setzen yes 470.79 89 - n/a 470.80 22 35 23 84 62 21 nutzen nutzen yes 470.81 15 65 81 als als yes 470.82 82 40 30 16 50 schad schad yes 470.83 49 74 65 62 18 63 wflege pflege no 470.84 85 37 zu zu yes 470.85 29 16 27 64 21 haben haben yes 470.86 32 29 20 ohn ohn yes 470.87 89 93 - n/a 470.88 81 32 65 40 30 63 solche solche yes 470.89 35 20 50 und und yes 470.90 77 41 23 25 62 67 mittel mittel yes 470.91 21 41 39 29 23 nicht nicht yes 470.92 78 36 17 67 41 38 30 muglich moglich no 470.93 82 32 64 38 30 soech solch no 470.94 19 70 33 81 gros gros yes 470.95 47 62 69 40 53 werck werck yes 470.96 18 62 17 64 21 gegen gegen yes 470.97 81 32 so so yes 470.98 17 68 33 80 82 63 21 grossen grossen yes 470.99 76 62 43 22 51 23 feindt feindt yes 470.100 52 63 70 der der yes ## scans 476-477 (n. 140) 476.01 29 62 35 68 14 30 23 heuraht heurath no 476.02 68 15 25 83 ratz radziwil no 476.03 81 32 29 20 sohn sohn yes 476.04 77 62 41 22 mein mein yes 476.05 27 68 37 51 63 70 bruder bruder yes 476.06 78 64 42 21 64 meine meyne yes 476.07 43 40 30 ich ich yes 476.08 69 14 84 73 35 42 67 razyuil radziul no 476.09 15 21 43 ani animirt no 476.10 65 41 26 62 70 24 63 25 libertet libertatem no 476.11 83 36 zu zu yes 476.12 78 15 42 21 29 mainh manteniren no 476.13 62 69 27 erb erb yes 476.14 68 63 42 40 30 reich reich yes 476.15 53 32 21 89 88 41 17 80 konigs konigs yes 476.16 29 16 35 80 haus hauses no 476.17 49 62 68 63 were osterreich no 476.18 63 70 76 erf erb no 476.19 69 64 re reich no 476.20 29 63 35 69 15 29 24 heuraht heyrath no 477.01 70 16 85 73 37 42 66 razyuil razuill no 477.02 77 42 25 mit mitt no 477.03 81 62 42 21 63 69 seiner seiner yes 477.04 44 15 69 29 41 parhi party no 477.05 15 21 43 77 42 68 69 animirr animirt no 477.06 47 63 69 51 62 21 werden werden yes 477.07 82 41 39 30 sich sich yes 477.08 84 36 79 zum zum yes 477.09 18 69 33 74 35 68 80 23 62 21 grofursten grosfursten no 477.10 41 20 in in yes 477.11 65 42 24 25 15 47 62 21 littawen littau no 477.12 83 36 78 16 39 29 62 21 zumachen zumachen yes 477.13 77 41 24 mit mitt no 477.14 80 47 62 52 64 21 sweden schweden no 477.15 42 20 in in yes 477.16 26 36 22 23 bunt bund no 477.17 63 42 20 84 36 66 14 81 82 63 21 einzulassen einzulassen yes 477.18 65 41 64 26 63 69 lieber lieber yes 477.19 84 35 77 zum zum yes 477.20 53 32 21 42 19 konig konig yes 477.21 20 62 77 79 64 22 nemmen nehmen no 477.22 15 66 80 als als yes 477.23 42 31 68 62 ihre ihre yes 477.24 64 70 48 33 69 26 62 21 63 erworbene erworben no 477.25 75 70 63 71 30 62 73 25 freyheyt freyheit yes 477.26 80 32 so so yes 477.27 82 29 15 21 24 65 42 38 29 shantlich schandlich no 477.28 36 63 69 66 41 68 64 21 uerliren verlieren no 477.29 26 70 36 52 64 70 21 brudern brudern yes 477.30 17 62 81 39 29 69 41 26 62 22 geschriben geschrieben no ## Unglossed groups (Daniel's count: certain / probable / restored / unresolved) 470.18 50 14 66 62 69 daler daler probable: continuation of "Reichsthaler" cut at the binding (Reichs-daler); 69 = r by the block 68-70 470.20 47 43 63 95 wie+null wie certain: w-i-e, 95 = null (>= 86) 470.66 80 23 70 42 69 63 22 striren - unresolved: "striren": no German word; one number probably misread (69/64) 476.m 15 80 as - unresolved: right margin of scan 476, context cut by the binding # Agreement over glossed groups not cut by the binding (published key): 99/127 groups decode exactly as glossed; most others differ by one number (a doubtful reading of the microfilm) or by the spelling of the cipher clerk.
Key: key.tsv
04 Sources
- Bayerische Staatsbibliothek, Clm 10382 (Collectio Camerariana 32), MDZ bsb00112117, scans 470, 476–477 (Public Domain Mark).
- K. Halm, Verzeichniss der handschriftlichen Sammlung der Camerarii (1874), p. 60.
- Key, group list and validation: targets/casimir1629, contributed by Brice Dudout, with Claude Opus 5.5 agents.
The key, the transcription with the glosses, the decryption and the validation are in targets/casimir1629.
Cite this page
Daniel Bourdeau and Brice Dudout, “Johann Casimir to Ludwig Camerarius, 1629: the key of the two-digit cipher”, Cyphersolver, posted 6 November 2026, https://cyphersolver.com/casimir1629.html.