Five and a half centuries of keys

How cipher keys changed

785 cipher systems from 1400 to 1949, counted from the project's own records: what kind of key each one was, what it was written in, how large it grew, and which devices came and went.

Every system counted, one square each, at the year of its earliest document

140015001600170018001900WHERE THE MIDDLE HALF OF EACH FALLSInvented signs 1517–1587Digits with letters or signs 1572–1663Digits only 1649–1796Letters 1862–1918

The colour is what the ciphertext is written in. Hover a square for the cipher; click a colour in the legend to pick it out. The bars under the axis mark the years between which half of each kind's systems fall, with the median as a dot. The height of a column is how many systems the project holds for those five years, which follows what is digitised and what was chosen, not how much was enciphered.

Kind77%

of the systems from 1400 to 1799 whose kind is determined are nomenclators: an alphabet with a list of names and words.

Signs84%→5%

in invented signs, fifteenth century against eighteenth, of the systems whose signs are recorded.

Size43→275

distinct signs in the median key, 1400–49 (16 systems) against 1750–99 (42).

Codes4%→41%

codes that are not nomenclators, before 1750 against 1800–49, of the systems whose kind is determined.

01The nomenclator holds for four centuries

From the first half-century counted to the end of the eighteenth, the nomenclator is never under 61% of the systems whose kind is determined. Systems typed as codes and not as nomenclators are 4% before 1750, 27% in 1750–99 and 41% in 1800–49.

Kinds of system: share of each half-century's systems

Simple substitutionone sign for each letter
5%16%
Homophonic alphabetseveral signs for a letter, or signs for syllables, and no word list
10%14%5%
Nomenclatoran alphabet together with a list of signs for names and words
86%86%5%
Codea list of groups for words and phrases; typed as a code in the profile and not as a nomenclator
46%
Polyalphabetic, transposition, polygraphicthe letters are shifted by a changing key, reordered, or taken in groups
43%27%
half-century from
systems counted

Every row is on the same scale, so a bar twice as tall is twice the share. The gold bar is the kind's peak. A system that combines kinds is counted once, under the first it matches in this order: polyalphabetic, transposition or polygraphic; nomenclator; code; homophonic; simple. A system with a word list beside its alphabet is a nomenclator even when the profile also calls it a code. Paler bars rest on fewer than 25 systems.

Polyalphabetic, transposition and polygraphic systems are 1% before 1750 and 31% from 1850 on. Simple substitution is 5% of the systems before 1800 and 15% after, with none in 1450–99.

02Invented signs give way to figures

Ciphers written in figures alone are 0% of the fifteenth-century systems, 12% of the sixteenth, 48% of the seventeenth and 82% of the eighteenth. From 1850 letters are 54% of the systems; of those 60 systems, 27 are polyalphabetic, transposition or polygraphic and 21 are codes.

What the ciphertext is written in, share by half-century

  • Invented signs
  • Digits with letters or signs
  • Digits only
  • Letters
0%25%50%75%100%1400–4923 systems1450–9922 systems1500–4996 systems1550–99129 systems1600–49100 systems1650–9960 systems1700–4962 systems1750–9975 systems1800–4938 systems1850–9923 systems1900–4989 systems

Share of the systems whose sign inventory is recorded.

03The change falls in different decades for each power

The same squares, one lane per power. The move from invented signs to figures is not one date: read along a lane to see when the gold ends for that power in what the project holds.

The systems of each power, by year

  • Invented signs
  • Digits with letters or signs
  • Digits only
  • Letters
  • Not recorded
France139 systems · 1526–1870Spain63 systems · 1473–1866England and Britain66 systems · 1490–1939Italian states98 systems · 1413–1816Papacy24 systems · 1400–1848German lands and the Empire110 systems · 1426–1945Netherlands28 systems · 1535–1809United States51 systems · 1779–1944Elsewhere206 systems · 1435–1946140015001600170018001900

The power is the country the profile gives for most of a target's documents. It is usually the owner of the cipher, but not always: an envoy's letters can be filed under the court he wrote from, and a few lanes hold private manuscripts. The dates are those of the systems counted here, not of first or last use anywhere.

First and last cases by power
PowerSystemsYearsFirst digits-only cipherLast cipher in invented signsFirst codeLargest key
France1391526–18701553 santacroce15521759 orvilliers17591559 throck1559margin1,047 affry1757, 1757
Spain631473–18661565 toledo15651604 sirtori16041495 puebla14951,036 chauran1662, 1662
England and Britain661490–19391585 wotton15851635 harley2861559 burghley15591,456 yard1699, 1699
Italian states981413–18161546 capilupi15461631 sabran16331816 castelcicala18161,315 castelcicala1816, 1816
Papacy241400–18481542 farnese15411637 vizani1637–399 nunzio1718, 1718
German lands and the Empire1101426–19451565 biglia15651917 visser19171623 pawel1624863 ilten1743, 1743
Netherlands281535–18091628 rusdorff16281594 casimir16181793 vanreede17931,849 R1942, 1803
United States511779–19441780 pcc17801944 ccr19441780 pcc17801,600 king1797, 1797

Read these as pointers into the collection, with the same caution about the country label: several of the cases named are filed under a country that did not own the cipher, and some are unread or of undetermined kind.

04Devices that come and go

Of the systems where the profile says either way, 85% have homophones from 1400 to 1649 and 33% from 1800 on. Nulls go the same way (70% and 15%).

Homophones

more than one sign for a letter

95%at its height, 1400–49

17%140016001800

recorded for 580 of 785 systems

Nulls

signs that mean nothing

89%at its height, 1450–99

5%140016001800

recorded for 430 of 785 systems

Syllable signs

signs for syllables, in the alphabet or the list; a lower bound

47%at its height, 1700–49

5%140016001800

recorded for 682 of 785 systems

Marks on the signs

dots, strokes or bars that change a sign’s value

64%at its height, 1450–99

5%140016001800

recorded for 604 of 785 systems

Disordered key

values in no alphabetical order; a partly alphabetical key counts as ordered

75%at its height, 1400–49

36%140016001800

recorded for 379 of 785 systems

Word breaks kept

the gaps between words survive, wholly or in part; a separator sign does not count

79%at its height, 1850–99

23%140016001800

recorded for 564 of 785 systems

Each panel is the share of systems that have the device, among those where the profile records it either way; the figure at the right is the latest half-century with at least 5 such systems. A hollow point rests on fewer than 5. Syllable signs are the exception: a system counts as without them whenever its kind is determined and the profile lists none, so that share is a lower bound. For the disordered key, keyword-derived keys and systems with no sign table are left out.

Marks that change a sign's value are 36% of the systems from 1500 to 1699 against 15% after. The disordered key is 46% before 1700 and 43% from 1700; it is recorded for fewer systems than the other devices.

05Keys grow with the eighteenth century

The median key has 43 distinct signs in 1400–49 and 68 in 1650–99. It reaches 184 in 1700–49 and 275 in 1750–99, with the nomenclators in figures.

Distinct signs or groups per system: median, and the middle half

from 1850 the count is oftenthe alphabet, not the code10301003001,0001400–4916 systems431450–9911 systems551500–4951 systems491550–9994 systems46.51600–4979 systems591650–9952 systems68.51700–4936 systems1841750–9942 systems2751800–4930 systems531850–9913 systems271900–4966 systems26

Counted in the key where it survives, otherwise from the ciphertext, where it is a lower bound: a short letter uses a small part of a large key. Logarithmic scale. From 1850 the profile often records the alphabet a code is spelled in (26 letters), not its number of groups, so the low medians there are not a return to small keys.

06Examples by period

1400 to 1499 32 from the Italian states

51 systems · 85% nomenclator (of the 41 whose kind is determined) · 84% in invented signs (of 45 recorded)

Images: 1425 Archivio di Stato di Firenze, Dieci di Balía, Responsive 2 no. 171, via DECODE R3754. 1478 Archivio di Stato di Siena, Concistoro 2308 fasc. 2 no. 11 p. 2, via DECODE R4800. 1497 Bibliothèque nationale de France, Espagnol 318 f. 5r, via Gallica (btv1b52503046q).

1500 to 1649 96 from France

371 systems · 79% nomenclator (of the 326 whose kind is determined) · 44% in invented signs (of 325 recorded)

Images: 1503 Bibliothèque nationale de France, Espagnol 318 f. 120v, via Gallica. 1520 Archivio di Stato di Modena, Ambasciatori, Ungheria b. 4, Caprili 1520–21 no. 13, via DECODE R1139. 1551 Bibliothèque nationale de France, fr. 3138 f. 60v, via Gallica btv1b90601662 view 65.

1650 to 1799 40 from the German lands and the Empire and 40 from France

210 systems · 71% nomenclator (of the 183 whose kind is determined) · 74% in digits only (of 197 recorded)

Images: 1652 Archivio Apostolico Vaticano, Segreteria di Stato, Francia 104 f. 6r, via DECODE R5622. 1662 Archiwum Narodowe w Krakowie, Archiwum Sanguszków teka 134/8, front, via DECODE R7513. 1663 Arquivo Nacional Torre do Tombo, Luís de Miranda Pereira liv. 2 (PT/TT/LMP/0002), image m0037, via DigitArq.

1800 to 1949 40 from the United States

153 systems · 39% code (of the 132 whose kind is determined) · 43% in digits only (of 150 recorded)

Images: 1801 National Archives and Records Administration, RG 59, Despatches from US Ministers to the Netherlands, vol. 4, microfilm M42 reel 5, frame 0398 (left page), via catalog.archives.gov NAID 188770447. 1801 Koninklijk Huisarchief, The Hague, Wilhelmina Prinses van Pruisen (A32) inv. 192, first page (image P2), via DECODE R2232. 1804 Gilder Lehrman Institute of American History, GLC01523, the clear page, via the Hamilton Education Program.

07What is counted

785systems, 1400–1949
869target profiles counted
595keys in the key web
106country labels in the profiles

The unit is a cipher system: one key, or one code, as recorded in a target's profile.json. Targets that the key web joins to the same key count once, at the earliest dated document. That gives 838 systems from 869 targets (12 more profiles are not ciphers and are left out); 785 are dated between 1400 and 1949 (12 fall outside those years and 41 have no year). For 103 of the 785 the kind of system is not determined (34 of them not solved); they are left out of the first chart and stay in the others where the field in question is known.

This is a count of what the project has worked on, not a sample of what chanceries produced. It leans towards France, the German lands and the Empire and the Italian states, towards 1500 to 1650, and towards collections that are digitised. A key that survives without a letter, and a letter nobody has photographed, are both missing.

The key web holds 202 keys rebuilt here, 224 recovered by other scholars, 80 DECODE key records, 49 contemporary keys and 40 archive keys. Its entries carry a year and a description in prose, not the fixed fields used above, so this page counts from the profiles; keys in the web that no target uses yet are not counted.

The numbers behind every chart
PeriodSystemsSimple substitutionHomophonic alphabetNomenclatorCodePolyalphabetic, transposition, polygraphicDigits onlyHomophonesNullsSyllable signsMarks on the signsDisordered keyWord breaks keptMedian sizeMedian list
1400–49275%10%86%0%0%0%95%88%19%20%75%16%43 /164 /9
1450–99240%5%85%10%0%0%93%89%15%64%71%50%55 /118 /4
1500–491034%14%80%1%0%4%86%82%27%43%53%36%49 /515 /25
1550–991533%10%84%4%0%17%86%75%19%45%42%34%46.5 /9414 /29
1600–4911511%10%70%4%4%44%80%47%21%29%47%42%59 /7913 /27
1650–99689%13%69%4%6%55%75%36%37%25%33%42%68.5 /5236.5 /16
1700–49662%0%86%12%0%87%89%59%47%19%38%37%184 /36166 /13
1750–99763%3%61%27%7%77%76%70%46%23%57%28%275 /42700 /9
1800–493914%8%30%41%8%71%65%29%41%18%40%38%53 /301,592 /3
1850–992414%10%19%14%43%26%37%31%5%14%50%79%27 /13175 /4
1900–499016%5%5%46%27%35%17%5%5%5%36%23%26 /6624 /7

Shares are of the systems where the field is recorded; hover a cell for the count. Shares on fewer than 5 systems are greyed. Median size is in distinct signs or groups and median list is the number of nomenclator or code entries, each with the number of systems that record it. The commentary on this page states what the counts show and is not set against the literature on the nomenclator and the code.