Arvid Gerhard Damm
Arvid Gerhard Damm  (7 August 1869 – 7 November 1928) was a Swedish  engineer and inventor. He designed a number of cipher machines, and was one of the early inventors of the wired rotor principle for machine encipherment. The company, AB Cryptograph, was an early predecessor of Crypto AG. Biography
Originally a textile engineer, he was headmaster of a weaving school in Borås, Sweden, before moving to Finland to work as a manager of a textile factory. Although already married with a son, he fell in love with a circus performer from Hungary whose opposition to a relationship he overcame by arranging a sham civil wedding ceremony in 1900 with an officiant and two witnesses. His new “wife”, with whom he then the lived for 19 years, only became aware of the situation when Damm found a new romantic interest and wanted a divorce. After a long and acrimonious legal battle, in which he denied ever being married to her and accused her of being a spy, he was ordered to pay alimony but refused and fled to France. Damm designed a number of crypto machines, based on patents filed in Sweden, the US and many other countries. His most notable invention is that of the rotor principle, laid down in a patent application filed in Sweden on 10 October 1919, three days after Hugo Koch applied for a similar invention in the Netherlands. To exploit his ideas, a company named AB Cryptograph was founded. Originally founded as a patent consortium, Cryptograph was established on 15 June 1915. The company itself began a year later. Cryptograph never became economically viable despite capital infusions by Emanuel Nobel, brother of Alfred Nobel. When Damm’s legal shenanigans in connection with his faked marriage became too much of an embarrassment, he was forced to give up his position in the company and moved to France where he died in 1928. In 1925, Boris Hagelin was placed in charge of the management of the company and the development of its products, having joined AB Cryptograph in 1922. Damm's first machines for Cryptograph were the "Mecano Cryptographer Model A-1" and its interoperable portable counterpart, Model A-2, both produced in 1917. The A-1 was fitted with a keyboard. A later version (1921) could print the plaintext together with two copies of the plaintext onto tape. The machine used a chain of links, which could be reassembled by the user as part of the key. Some of the links moved a 25-disk "key body" forward, some back. The A-21 (1923) and the A-22 (1925) consisted of a cylinder with 26 mixed alphabet strips around it. Another strip, bearing the normal A–Z alphabet was nearby, and could take one of two positions, dependent on the movement of chain similar to the A-1. In operation, the cylinder rotated one step, as did the chain, controlling the position of the reference alphabet. To encipher or decipher (the system was set up to be reciprocal), a letter could be read off from the reference alphabet to a cylinder alphabet using a slit at the top of the machine. Achievements and legacy 

Damm was an ingenious inventor and quick to adapt to new possibilities. In the 1910s and early 1920s no other cryptographic inventor had patents and working machines of such complexity and diversity. Damm was one among the four inventors of permutation wheels (the other three being Scherbius, Koch and Hebern). He was first with a number of innovations and ideas such as
 Storing a cryptographic key as a binary sequence, first as a chain of links, later on a pinwheel
 The use of an ”Influence letter”, an autokey function 
 Cryptologic checksums to prevent illegal manipulation
 Superenciphering digital codes into pronouncable letter groups. This reduced the cost of telegraphy with up to 50%
 Designing electromechanical equivalents of delay shift registers and XOR gates. Damm´s strength lay in his ideas and clever constructions while his mechanical designs often were unreliable. And without high reliability it was hard to find customers. Despite having no cryptographic experience, Boris Hagelin managed to use the ideas of Damm´s B-13 to develop a crypto machine, B-21, which was to compete with Enigma for sales to the Swedish General Staff. In 1928 that order was secured. Boris Hagelin also participated in the development of a machine based on A-22, called A-34. There are no records about a serial production of the A-34. Inventions, production and sales 
The following cryptomachines were designed and built, based on Damm´s inventions. Patents
The following patents concerning cryptography were issued to Damm in Sweden, with their United States counterparts:
  Swedish patent SE45343, filed 1915-07-20  — "Apparatus for Producing a Series of Signs", filed 1915-07-21.Implemented in A-1. Swedish patent SE52279 filed 19
19-10-10, — "Production of Ciphers", filed 1920-04-02. Implemented in B-1. Swedish patent SE57005, filed 1921-03-24 — "Apparatus for Ciphering and Deciphering Code Expressions", filed 1922-03-25. Implemented in A-4. Swedish patent SE59906, filed 1921-03-02, — "Apparatus for the Production of Cipher Documents Especially For Telegraphic Dispatch", filed 1922-03-01. Implemented in B-1. Swedish patent SE61104 filed 1923-09-28,  — "Apparatus for Producing a Series of Signs", filed 1924-09-25. Implemented in A-22. Swedish patent SE65901, filed 1924-06-27  — "Electric Apparatus", filed 1925-08-31.Implemented in B-13. References

Sources

 Beckman, Bengt. Codebreakers: Arne Beurling and the Swedish crypto program during World War II, p. 17-19. Kahn, David. The Codebreakers, 1967, 2nd edition 1996, Chapter 13. McKay, C.G. and Beckman, Bengt. Swedish signal intelligence 1900-1945. Frank Cass, London 2003. p 25-28. Further reading
Original documents can be found at two main sources:
 ”Svartlösa och Öknebo häradsrätt” 1921-22. Stadsarkivet, Stockholm. Court protocols containing information about Damm´s private life (in Swedish). Boris Hagelin´s archive. Krigsarkivet, Stockholm. 55 volumes of which 15 contain documentation about Damm and the Cryptograph company from the years 1916-1930. Boris Hagelin´s memoirs exists in three versions. Comparison with original documents from Cryptograph shows many errors. The “Hauszeitung” from 1992 is the best. The English “The story of the Hagelin cryptos” has more errors than the German “Die Geschichte der Hagelin Cryptos”. See also
 Edward Hebern
 Arthur Scherbius

1869 births
1928 deaths
Cipher-machine cryptographers
20th-century Swedish engineers
20th-century Swedish inventors
Swedish cryptographers