The Lorenz SZ40, SZ42a and SZ42b were German rotor stream cipher machines used by the German Army during World War II. They were developed by C. Lorenz AG in Berlin. The model name SZ was derived from Schlüssel-Zusatz, meaning cipher attachment. The instruments implemented a Vernam stream cipher.
The Lorenz SZ42 machine with its covers removed. Bletchley Park museum
The Lorenz SZ machines had 12 wheels each with a different number of cams (or "pins"). OKW/Chi wheel name A B C D E F G H I K L M BP wheel name ψ1 ψ2 ψ3 ψ4 ψ5 μ37 μ61 χ1 χ2 χ3 χ4 χ5 Number of cams (pins) 43 47 51 53 59 37 61 41 31 29 26 23
Cams on wheels 9 and 10 showing their raised (active) and lowered (inactive) positions. An active cam reversed the value of a bit (0→1 and 1→0).
A rebuilt British Tunny at The National Museum of Computing, Bletchley Park. It emulated the functions of the Lorenz SZ40/42, producing printed cleartext from ciphertext input.
Colossus was a set of computers developed by British codebreakers in the years 1943–1945 to help in the cryptanalysis of the Lorenz cipher. Colossus used thermionic valves to perform Boolean and counting operations. Colossus is thus regarded as the world's first programmable, electronic, digital computer, although it was programmed by switches and plugs and not by a stored program.
A Colossus Mark 2 computer being operated by Wrens. The slanted control panel on the left was used to set the "pin" (or "cam") patterns of the Lorenz. The "bedstead" paper tape transport is on the right.
A Lorenz SZ42 cipher machine with its covers removed at The National Museum of Computing on Bletchley Park