Second edition of the N&O column / Spooks newsletter

(Date: Tue, 09 Jun 1998 22:15:09 +0200)

World's First Cryptomachine | Morse Stations | Voice Numbers Stations | Logs
Index | NS NL Home


The World's First Cryptomachine

by Torbjorn Andersson

According to Bengt Beckman the world's first cryptomachine was Swedish. It was invented by Fredrik Gripenstierna and presented to king Gustaf III in 1786. No copy of the original machine exists today, but a record in the National Archives has survived, and allows us to reconstruct it.

The machine, called in 18th century Swedish: "Chiffre-Machinen", consisted of 57 wheels mounted on a common shaft. These wheels were housed in an oblong cylinder. On half of the circumference of each wheel, the normal ordered alphabet was engraved, and on the other half numbers between 0 and 99 were likewise engraved, but in mixed order, with each of the 57 wheels having their own mixed sequence. On one side, along the length of the cylinder, was a slot wide enough to show one letter of all 57 wheels, and on the opposite side a similar slot shows a row of 57 figures. Two persons were to operate the apparatus. When encrypting, one turns the wheels till a row of cleartext is visible through the slot on the letterside of the cylinder, and the other reads off the cryptogram through the slot on the figureside. When decrypting, it's the other way around. One person turns the wheels on the figureside till the received cryptogram is visible through the slot, while the other reads the clear-text through the slot on the letterside. The inventor alerts us to the security benefits of this arrangement. The authorized official gets to operate the letterside, and his unauthorized accomplice, who operates the figureside, only gets to see encrypted text.

A maximum of 57 letters can be encrypted at a time, but a row needn't be a full row of 57 characters. It is obvious that the last row entered into the machine may be shorter than 57 characters, and in that case one only writes down as many cryptogroups as there are cleartext letters in the last row. But, mr Gripenstierna, who obviously was a very good cryptographer, had also provided means of varying the starting position of a row. Above the first ten wheels, ten codenumbers were engraved on the cylinder, thus making it possible to index each of the first ten wheels. It follows that a row could start in one of ten positions, and this position was given by the codenumber, which had to be added to the row of copied down figures in the dispatch to be sent. As a further complication to a would-be codebreaker, with zero-knowledge of the machine's working, the cryptogram in fact reflected the cleartext in backwards fashion and the last figure on a row gave the starting position.

See also Newsletter 4.

logo alapage


World's First Cryptomachine | Morse Stations | Voice Numbers Stations | Logs
Index | NS NL Home

---