15̄ 452 7̲3̲0̲ 83̂3 · 176̂ · 741
waar bij in[ge]sloten · (pure et si)mpli(citer) · haar
R1038 · Croiset · Legatie Rusland · codebook, 1765

St Petersburg → The Hague · three-digit codebook with marked digits · 8 March 1782

Johan Isaac de Swart to Pieter van Bleiswijk: mediation, the Greek project and the Armed Neutrality

Van Bleiswijk
toVan Bleiswijk

Nationaal Archief, 3.01.25 (archive of P. van Bleiswijk), inv. 610 · DECODE R1036 · nine pages, 1,719 code groups. Sister record: Nationaal Archief 1.01.02 (Staten-Generaal), inv. 7408 · DECODE R1040, 29 November 1787.

DECODE lists no decipherment of either letter and says their codebook “could not be identified”. The 1782 despatch is in the 1765 Croiset codebook for the Russia legation, whose key survives as DECODE R1038. That key, 34 values recovered from context and 41 entries transcribed from the key scans decode 96.7% of the groups. No earlier decipherment was found.

Daniel Bourdeau · posted · updated

Method: read after matching with key from external sources · Extent: complete

Summary. Johan Isaac de Swart was the Dutch Republic’s resident at St Petersburg. Two of his ciphered letters are on DECODE with no decipherment: a despatch of 8 March 1782 to the Grand Pensionary Pieter van Bleiswijk (R1036) and a letter of 29 November 1787 to the States-General (R1040). Both are written in three-digit groups. A mark on one digit (two short strokes, an underline, a caret, a small circle, or a circle with a bar) makes a different group, so 340 and 340 underlined are unrelated. DECODE also holds the Croiset codebook of 1765 for the Russia legation with an authenticated partial transcription of its key (R1038). Parsed with the marks kept, that key gives 5,961 entries and decodes 84.2% of the 1782 despatch as it stands. Thirty-four further values, each checked against every occurrence, and 41 entries transcribed directly from the codebook scans bring the decoded share to 1,663 of 1,719 groups (96.7%). The despatch covers three matters: the French and Spanish answers to the Austro-Russian mediation, Catherine II’s “Greek project” for the young Grand Duke Constantine, and Prussia’s accession to the Armed Neutrality. The 1787 letter changes codebook part-way through, as Karl de Leeuw noted in 2000. Its second part decodes with the same 1765 key. The first 1,928 groups use another codebook, which is missing, and remain open.

01 The documents and the key

R1036 has nine scans. Two leaves are duplicate copies of the same passages (images 5419/5421 and 5420/5422). DECODE’s transcriptions of each pair agree at 96.7% and 99.6%, and they were merged, keeping the group that exists in the key where they differ. After merging, the despatch has 1,719 groups and 596 distinct ones.

Opening of de Swart's despatch of 8 March 1782: a clear salutation followed by rows of three-digit groups, several with strokes, carets or circles over one digit
R1036, first page: the clear salutation, then the code, beginning 15, 452, 730, 833 = waar bij ingesloten. Image: Nationaal Archief, The Hague, 3.01.25 inv. 610, first page, via DECODE R1036.

The key is the codebook that Croiset prepared in 1765 for the Russia legation (DECODE R1038). Its values are words, syllables and single letters, so many words are built from pieces: Spa·nje, Dene·mar·ken, Enge·land. DECODE’s authenticated transcription of the key is partial, which is why about a sixth of the groups have no value on the first pass. The marks are part of each group. If they are dropped and the groups reduced to their three digits, unrelated entries collide and the decoding fails.

02 What the despatch says

The opening, normalised to modern spelling. Brackets mark a group whose value is inferred or open:

Waarbij ingesloten waren de antwoorden van de hoven van Frankrijk en Spanje op de propositie, welke de beide oorlogende hoven dezelve hadden laten volgen op de bewuste preliminaire propositie […], welke de Oostenrijkse minister zondag van zijn hof ontvangen heeft … Betrekkelijk zowel op de bewuste antwoorden als op dat van Engeland … bleef even zo min als tevoren enig middel over, waardoor de voornoemde oorlogende hoven [haar] mediatie van […] enige verdere werkzaamheid zouden kunnen geven.

(“Enclosed were the answers of the courts of France and Spain to the proposal that the two belligerent courts had made in reply to the preliminary proposal, received on Sunday by the Austrian minister from his court … As to those answers and to England’s, there remained no more means than before by which the belligerent courts could give her mediation any further effect.”)

The despatch covers three matters:

  1. The mediation. The French and Spanish answers are unwelcome to Russia. England insists on keeping the American colonies in some form, and Spain will not negotiate while the question of Gibraltar, or an equivalent for it, is unsettled. There is doubt whether the Emperor is dealing honestly with Russia (of nu den Keizer in dezen met haar oprecht handelt) or only means to amuse her.
  2. The Greek project. The Empress has not abandoned her project. The young Grand Duke Constantine is being taught Greek and given Greek attendants, and orders have been sent for Greek youths to be brought to him.
  3. The Armed Neutrality. Prussia is acceding. The Vice-Chancellor has spoken with the Swedish and Danish ministers about the accession act. The Empress wants it signed pure et simpliciter, without the secret articles, and asks for a firm and unalterable law for the rights of neutrals. The despatch also discusses the Prussian minister’s report to Berlin and the King’s reply on the fourth and sixth articles.

The full token-by-token decoding is deswart1782/R1036_machine_decipherment.txt, with every group beside its value in R1036_tokens.tsv. The machine text is the authority. The normalised passages here are editorial.

03 Method: values recovered from context

The key as transcribed decodes 1,448 groups. The rest were filled only where a value fits every occurrence of the group in the letter. Examples:

Each inferred value is labelled “contextual inference” in R1038_key_parsed.tsv, apart from the entries transcribed from the manuscript key. decode_1765.py regenerates everything.

04 The letter of 1787 (R1040)

Karl de Leeuw noted that the letter of 29 November 1787 is coded, “presumably by accident”, with two codebooks. The change comes at group 180 of image 5459, where the 1765 key begins to give dit alles. From that point to image 5474, the 1765 key decodes 84–90% of each full page. The text reports signs of an alliance between Austria and France, close attention to it from the Prussian and British representatives, news from Berlin, Kaunitz and the Bavarian exchange, and the likely positions of the four powers:

Dit alles, gepaard met vele andere omstandigheden, schijnen als indicien te zijn welke de hiervoor gedetailleerde [berichten] wegens de effectief, zo niet reeds gesloten, ten minste op het tapijt zijnde alliantie tussen de hoven van Frankrijk [en Oostenrijk] zeer waarschijnlijk maken.

The first 1,928 groups are in a different codebook, probably the one used under Rechteren. It does not survive online, though the Rechteren cipher filed as Nationaal Archief inventory 158 may be it. Three plain/cipher pairs from the same legation (R2032, R2051 and R2052, from 1784 and 1786) were aligned against it. Transfers from them cover only 2–3% of the segment and give no connected prose, so no decoding of it is claimed.

05 What remains

06 Sources

No earlier decipherment of either letter was found.

The key parse, the token-level reading, the R1040 segment reading, the crib alignments and the machine-readable profile are in the repository folder deswart1782/. Page images are not committed.