TNA SP106/6 contains printed forms with instructions to John Trevor (1668), apparently for columnar transposition cipher. The characteristic design of the key including a caption "CLAVIS UNIVERSALIS" turned out to belong to a scheme printed in Samuel Morland's A New Method of Cryptography (1666).


SP106/6 (numbered "26" and "26A"; DECODE no.500 (image files are numbered 0080-0083)) contains two sheets (no.26A) with a printed grid of 21 lines and 34 columns, endorsed "To sr Jo. Trevor of[?] the 9th April 68." The recipient is John Trevor (Wikipedia), who was engaged in diplomatic negotiations in France.
The message in the grid reads:
These instructions are about negotiations to end the War of Devolution (1667-1668), French invasion of the Spanish Netherlands, which was a menace for the Dutch. The treaty, concluded at Saint Germain on 25 April 1668 between France, England, and the Dutch Republic, was incorporated into the Treaty of Aix-la-Chappelle signed on 2 May (Wikipedia).
The key is in SP106/6 no.26. Under the printed column numbers 1, ..., 34 are handwritten numbers, apparently meant for columnar transposition cipher. The sequence of the 34 numbers 4, 3, 2, 1, 31, 30, 32, 29, ...., 20 in the instruction sheet is taken from the "clavis universalis" (universal key) in the key on the sheet numbered 26. The key comprises three elements:
(i) "The Numerical Alphabet" for mapping letters A-T and b-s to numbers 1-34.
(ii) "Private Marks for Names or words", which is a nomenclature (code list).
(iii) "Clavis Universalis", which consists of 34 sequences of figures. The first sequence numbered "1" in print consists of one figure (1); the second sequence numbered "2" consists of two figures (1, 2); and so on. The 34th sequence numbered "34" indicates permutation of figures 1-34, which is copied in the grid for the instructions for Trevor.
On the verso side are endorsements "Sr Rob: Southwell's Cypher" and (apparently in a later hand) "Sir Aobut[?] Smithwell." Robert Southwell worked for a peace between Spain and Portugal (Wikipedia). (England was tied with Portugal by the marriage of Charles II with Catherine of Braganza in 1662.) This is consistent with the entry of the nomenclature "King Alfonsus", referring to Alfonso VI of Portugal (r. 1656-1683). I have not identified "Smithwell".
Usage of the cipher is also written:
These instructions are not about the transposition operation, but specify how to indicate the necessary parameters to the recipient. When the number of column is 34, for example, the transposition key is found on the line numbered "34" in the Clavis Universalis.
SP106/6 includes another instance of the same printed template for Bernard Gascoigne (Wikipedia), with different handwritten content (numbered 15; DECODE no.436 (image files are numbered 0061-0062)).
The instructions are written on the backside.
The above instances indicate ciphers based on the template were provided to Robert Southwell sent to Portugal and also provided to Bernard Gascoigne (June 1668), and that the version for Southwell was also used (or at least tried for use) for John Trevor sent to France (April 1668).
It will be seen below that the same scheme may also have been used by Sir William Temple, who worked in the Low Countries in concert with Trevor in France.
The template above preserved in SP106/6 turned out to be the one printed on page 5 of Samuel Morland's A New Method of Cryptography (Folger Shakespeare Library). Ellison (2022), also reproducing the page in Figure 6, demonstrates the transposition scheme in detail. (The handwritten figures in SP106/6 are different from Morland's example.)
Morland's scheme is not limited to a rectangular shape of the grid and the normal reading direction, but is adaptable to other figures or reading directions as agreed between the correspondents (Ellison (2022), p.28).
Unlike other publications, Morland's New Method was not printed for the general public, but for the court of Charles II. At the time New Method was printed in 1666, Morland (Wikipedia) was working in the Post Office (burnt down in the Great Fire of London in September that year) (Ellison (2022) p.13, 51). Morland also encouraged use of printed templates to facilitate the ciphering work (ibid. p.48).
It is noted Morland's page does not include the nomenclature as found in the sheets in SP106/6. The English court adapted Morland's idea for its own purposes.
Troubles with Morland's cipher is mentioned in letters of Sir William Temple's letters.
Temple could not decipher two letters he received (probably from secretary of state, Arlington (cf. the greeting "My Lord" at the beginning, as opposed to "May it please your Majesty" on p.136; the third person "His Majesty" on p.13)), because Morland let him practice the cipher only for half an hour, in a rush just before his departure (Temple temporarily returned to England and got back to The Hague; Courtenay (1836), p.148, 151). He pleads for a plain cipher. (He continues to defend himself by pointing out that the business of the letters was moot because the matter was already concluded, probably referring to the Anglo-Dutch alliance in January (Wikipedia).)
Surprisingly, Temple discussed the cipher with De Witt, the leader of the Dutch Republic.
The wording such as "Figure" and "Paper with the Rules" seems to indicate the cipher talked of is Morland's transposition scheme as above (Ellison (2022) p.28 points out there is no evidence. It is desired to locate and inspect the original cipher letters.).
After this initial complaint, Temple seems to have used cipher without trouble, because he mastered the scheme or his request to revert to the old cipher was granted. His letter dated Brussels, 30 March 1668 NS (Temple (1701) p.19) acknowledges a letter of the 13th (OS?) without any complaint. In a letter dated Brussels, 3 April 1668 NS, Temple explicitly refers to "enclos'd Cypher" (i.e., a letter in cipher) (ibid. p.26).
In a letter of 10 April, Temple explains he had not been able to decipher because the cipher letters had not been "exactly written", pointing out that there was no problem this time though he only tried the same way as he had done.
The following shows a problem recurred due to some change in the usage. (Again, the wording "ruled paper" seems to indicate the cipher is Morland's transposition scheme above.)
It has to be said that troubles about cipher concern not only Morland's cipher. Richard Fanshaw sent to Spain also had problems with his cipher in his correspondence with Arlington. Probably, the cipher discussed is not Morland's. (At least, the letter is before the publication of Morland's work.)
Samuel Morland (1666), A New Method of Cryptography (text at EEBO (Early English Books Online); some images available at Folger Shakespeare Library)
Katherine Ellison (2022), Secret Writing in the Long Eighteenth Century, Theories and Practices of Cryptology, Cambridge University Press.
Sir William Temple (1699), Letters written by Sir William Temple during his being ambassador at The Hague, to the Earl of Arlington and Sir John Trevor, Secretaries of State to K. Charles II (EEBO)
Sir William Temple (1701), Select Letters to the Prince of Orange (now King of England,) King Charles the IId. and the Earl of Arlington upon Important Subjects, vol. III (Google)
Thomas Peregrine Courtenay ed. (1836), Memoirs of the Life, Works, and Correspondence of Sir William Temple, Bart vol.1(Google), vol.2(Google)
Lord Arlington (1701), The Right Honourable the Earl of Arlington's letters (Internet Archive)
Héder, M ; Megyesi, B. The DECODE Database of Historical Ciphers and Keys: Version 2. In: Dahlke, C; Megyesi, B (eds.) Proceedings of the 5th International Conference on Historical Cryptology HistoCrypt 2022. Linkoping, Sweden : LiU E-Press (2022) pp. 111-114. , 4 p. [pdf]
Megyesi Beáta, Esslinger Bernhard, Fornés Alicia, Kopal Nils, Láng Benedek, Lasry George, Leeuw Karl de, Pettersson Eva, Wacker Arno, Waldispühl Michelle. Decryption of historical manuscripts: the DECRYPT project. CRYPTOLOGIA 44 : 6 pp. 545-559. , 15 p. (2020) [link]
Megyesi, B., Blomqvist, N., and Pettersson, E. (2019) The DECODE Database: Collection of Historical Ciphers and Keys. In Proceedings of the 2nd International Conference on Historical Cryptology. HistoCrypt 2019, June 23-25, 2019, Mons, Belgium. NEALT Proceedings Series 37, Linköping Electronic Press. [pdf]