Commissioning of the Enigma I (1930)


Enigma Home Page

Introduction

The Enigma I entered service in early 1930 (May).

The machine is supplied with two manuals:

  1. Gebrauchsanweisung für die Chiffriermaschine „Enigma“
    [Operating Instructions for the "Enigma" Cipher Machine], 1930 (link)
  2. Schlüsselanleitung für die Chiffriermaschine „Enigma“
    [Keying Instructions for the "Enigma" Cipher Machine], 1930 (link)

These manuals allow communication centers to test the machine in a real-world scenario. The first provides a physical description of the machine, its maintenance, its operation, and the configuration of the components that make up the key: the rotors and the Steckers (plugboard connections). The second manual describes the use of the machine within a cryptographic network—specifically, the key setup process and the "indicator" method used to encrypt the message key. This message key is encrypted twice, starting from a position (Grundstellung) determined by the daily key.

The second manual (Schlüssel...) mentions the possibility of using multiple cryptographic networks; however, when an operator is required to specify a network number, they must simply choose a random value. An example of a key table provided at the end of the manual contains no field for specifying a network. Consequently, at this initial stage, there is only one cryptographic network for the entire army. Messages are limited to 180 letters.

An addendum to the previous manual (Deckblatt) was published a few months later. It introduces the concept of a network number (Kennzeichnung). For each daily key, the key table specifies a designated range of numbers.

At the end of the year, a comprehensive manual was reissued. It describes the use of the network number. Furthermore, the manual’s title includes the full name of the Enigma version used by the army: "Enigma I." The drafting (preliminary message preparation) procedure is omitted; it is covered in a separate manual. Similarly, the procedure for an "emergency" key is mentioned but is no longer detailed in the Enigma manual itself—it is described in another manual. In the event of a security compromise, a manual cryptographic system was presumably used. Unlike the earlier version, this manual describes a message structure consisting of several parts.

Functional Cryptograms

The first two manuals which explain the keying instructions, provided cryptograms which were created using an authentic Enigma machine. In the following section, I use my simulator to demonstrate this:

The First Manual (Enigma)

Key :
Rotor order II I III
Ring position II 24 I 13 III 22 - XMV
Basic position 06 15 12 - FOL
Plug connection 1/13 6/9 14/22 16/19 20/21 23/26
(A/M, F/I, N/V, P/S, T/U, W/Z)
Message :
    1035 – 96 - 341
pkpjx igcds eahug wtqgr
kvlfg xucal xvymi gmmnm
fdxtg nvhvr mmevo uyfzs
lrhdr rxfjw cfhuh munze
frdis ikbgp myvxu z
The first 6 letters are decrypted at the Grundstellung position. This yields the message key, which is encrypted twice.
$ echo PKPJXI | python M3.py A II I III "AM:FI:NV:PS:TU:WZ" XMV FOL
ABLABL
Next, remove the first 6 letters and decrypt the remainder of the cryptogram using the position of the message key that has just been obtained:
$ cat MSGS/msg1.txt
       viaa yrxaf soafq vxfcq
wyzte mbtzp hljdp jamjs rmiiw
vrxla ltlvo eodic mpgyb gajms
aarwg dkubj nnttj njqpl j

$ python M3.py A II I III "AM:FI:NV:PS:TU:WZ" XMV ABL < MSGS/msg2.txt
FEINDLIQEINFANTERIEKOLONNEBEOBAQTET
XANFANGSUEDAUSGANGBAERWALDEX
ENDEDREIKMOSTWAERTSNEUSTADT
Here the plaintext in the manual :
feindliqe infanteriekolonne beobaqtet x anfang sued-
ausgang baerwalde x ende drei km ostwaerts neustadt.

The second manual (Enigma I)

Key :
Rotor order II I III
Ring position II 24 I 13 III 22 - XMV
Basic position 06 15 12 - FOL
Plug connection 1/13 6/9 14/22 16/19 20/21 23/26
(A/M, F/I, N/V, P/S, T/U, W/Z)
Message :
    3005 1035 96 7341
hktfx dviaa yrxaf soafq vxfcq
wyzte mbtzp hljdp jamjs rmiiw
vrxla ltlvo eodic mpgyb gajms
aarwg dkubj nnttj njqpl j
The first 6 letters are decrypted at the Grundstellung position. This yields the message key, which is encrypted twice.
$ echo HKTFXD | python M3.py A II I III "AM:FI:NV:PS:TU:WZ" XMV FOL
SBKSBK
Next, remove the first 6 letters and decrypt the remainder of the cryptogram using the position of the message key that has just been obtained:
$ cat MSGS/msg2.txt
       viaa yrxaf soafq vxfcq
wyzte mbtzp hljdp jamjs rmiiw
vrxla ltlvo eodic mpgyb gajms
aarwg dkubj nnttj njqpl j

$ python M3.py A II I III "AM:FI:NV:PS:TU:WZ" XMV SBK < MSGS/msg2.txt
FEINDLIQEINFANTERIEKOLONNEBEOBAQTET
XANFANGSUEDAUSGANGEICHWALDEX
ENDEDREIKMOSTWAERTSNEUSTADT
Here the plaintext in the manual :
feindliqeinfanteriekolonnebeobaqtet
xanfangsuedausgangeichwaldex
endedreikmostwertsneustadt

Initial flaws

The first two versions of the Enigma manual, published in 1930 and describing the key-setting procedure, contained two major flaws that Rejewski exploited:

  • The encryption examples provided were functional (see the previous section). Bringing together a cryptogram and its corresponding plaintext in a single document constitutes a major vulnerability for any encryption system. If the key is also present, the vulnerability becomes colossal.
  • The "indicator" method (described in the manuals), which involved encrypting the message key twice.
Either of these flaws, on its own, was sufficient to reconstruct the wiring of the Enigma rotors (cf. Cryptanalysis: Rejewski: initial break; Knox: Adding-up method).

In 2016, John Wright was able to recover two rotors of the Enigma system using the adding-up Knox's method on the message present in the first Enigma manual.

French espionage

The manuals described in this page, were obtained from a German spy, Hans Thilo Schmidt, who sold them to French intelligence. In 1931, these manuals and key tables—were passed on by French Major Gustave Bertrand to Polish cryptologists. Armed with these documents, Rejewski was able to reconstruct the Enigma machine (cf. Rejewski: initial break).

References

Books and articles

  • Rejewski's Test Message as a Crib, by John Wright, Cryptologia, Volume 40, 2016 - Issue 1.

Internet

  • Rejewski: initial break (link)
  • Knox's adding-up method (link)
  • Reseach by agent, files 248-251 (the genuine documents acquired by Bertrand) (link).