Forum: history.stackexchange.com
Tags: <world-war-two><nazi-germany><cryptology>
Title: Did the German Enigma machine use multiple encryption keys?
Question: The German Enigma machines are the key for German victories during the early years of World War II. When the Allies managed to capture few Enigma machines and decode then the face of war began to change in favor of Allies.   My question is, is it possible to have multiple encryption/decryption keys in a same enigma machines?So that it enables the users to send/receive the 1st message using a different encryption/decryption  key and the next message using a different key.

Answers:
sents: text: The Enigma machines and the breaking of the Enigma code were not the main determinants of the outcome of World War II, but did contribute to the outcome.
text: There were only a few types of Enigma machines, so they had to be capable of using different encryption keys.
text: If machines used the same encryption key for message after message, the encryption would be broken before too long, and then all successive (and preceding recorded) messages could be decrypted by the opponents.
text: The machines had several physical settings (as described by the Wikipedia article ), including selection of wheel order and wiring of some movable plugs.
text: The usual procedure was to have prearranged settings for each day of use, with the machine changed at midnight to the new day's settings.
text: In addition, the operator would rotate the wheels arbitrarily (for randomness) before starting encryption of a new message.
text: His arbitrary selection would be communicated at the front of the sent message.
text: The procedures are described in more detail on this page and this page .
answer_details: author: history.stackexchange.com/users/187/mgkrebbs
score: 19
sents: text: "Allies" capturing Engima machines (what you really mean was British navy, who then in Hollywood were magically transformed into US navy) was really of no importance.
text: What was important was capturing code books.
text: The wiring of the Enigma machine was known since the 1930s, when Polish mathematicians managed to reconstruct it from very limited information.
text: The latest Enigma machines came with a set of eight wheels, of which three were plugged into the machine, plus a fourth extra wheel for submarines.
text: There was a "day code" which told the personell which three wheels to pick, how to rotate them, and which nine cables to use on the plugboard.
text: When a message was sent, sender and receiver put their enigmas into the day position.
text: Then the sender would send a random three digit key, and then both sender and receiver would switch the wheels to that key.
answer_details: author: history.stackexchange.com/users/4530/gnasher729
score: 8
sents: text: Yes, they do allow multiple keys.
text: Typically they had a new key every day.
text: See this Wikipedia article :
text: Though Enigma had some cryptographic weaknesses, in practice it was German procedural flaws, operator mistakes, laziness, failure to systematically introduce changes in encipherment procedures, and Allied capture of key tables and hardware that, during the war, enabled Allied cryptologists to succeed.
text: It was not capturing the hardware alone that enabled the decryption.
text: The key tables were books of keys to be used on a given day.
answer_details: author: history.stackexchange.com/users/4089/andy256
score: 6
sents: text: The first Enigma machine to come to the notice of Germany's foes was in Poland, around 1928.
text: Polish customs (and their intelligence service) were suspicious of the German embassy's unseemly desire to get a certain package out of Customs on a Saturday.
text: The Poles spent the weekend copying the manuals and examining the mechanism, and then delivered it in the Monday morning post.
text: In August 1939, facing invasion, the Poles gave all their knowledge (including 10 years of mathematical advances in code breaking) to the French and British.
text: You should watch the BBC series "The Secret War" (circa 1975), especially the episode "Still Secret", which covers Enigma/Ultra/Fish and Bletchley Park very thoroughly.
text: The Allies were NOT dependent on capturing Enigma machines -- they made tremendous advancements in code breaking without having the physical machine or both plain and encrypted messages.
answer_details: author: history.stackexchange.com/users/3887/Phil Perry
score: 1
sents: text: Yes, different keys were used on several levels.
text: In an Enigma system, the key consists of several components: Rotors (which rotor is used in which position).
text: Originally, 3 rotors were used (each with unique wiring).
text: Later on, more rotors were added (up to 8 by the end of the war).
text: Ringstellung (the position of the ring on each rotor) Rotor starting point Plugboard settings
text: In addition, not everyone used the same key:
text: Some groups (the Navy and Abwehr, for example) used their own rotors with different wiring.
text: Each group of operators (one army, or one U-boot group, for example) got its own list of keys.
text: Keys were changed daily.
answer_details: author: history.stackexchange.com/users/26849/Hobbes
score: 1
sents: text: There were multiple Cypher Keys for example Supply Ships sheltering in neutral ports used the Tibet Cypher.
text: merchant Raiders used Special Cypher 100.
text: Cypher Bertok was used to communicate with the Naval attache Tokyo.
text: Cypher Freya was used between OKM and naval shore installations.
text: Triton Cypher was used by U-boats in the Indian Ocean.
text: There were even special Enigma keys created for co-operation between the German and Japanese navies operated on three rotor machines known as T-Enigma under the Tirpitz agreement of 1942 (Tirupitsu to Japanese/JN-18 to USN)
text: The code key for this was originally known as Sumatra and later as Gartenzaun.
text: This was mostly used by German I-class U-boats which sailed to Europe such as I-29 and I-52 for example.
text: The SS had their own Cypher keys such as Kliest many of which were rarely broken.
text: German Railways had their own Cypher Keys as did various Luftwaffe units.
text: The Kreigsmarine used four rotor Enigma machines as opposed to the three rotor machines of the Luftwaffe.
text: These were books of Cypher keys relevant for specific days and the way they were used changed as the war progressed.
text: Generally a vessel was only issued with a book of Cypher keys lasting three months.
text: Later in the war Keys would change up to twice per day.
text: They were issued on pink water soluble paper.
answer_details: author: history.stackexchange.com/users/4989/user2357
score: 0

Summary of the answers:
There were only a few types of Enigma machines so they had to be able to using different keys. Different keys were used on different levels and they had a new key every day.
Yes, the Enigma machine used multiple encryption keys and changed encryption key each day.