# The Enigma Machine and How It Worked

Topics: Enigma machine, World War II, Rotor machine Pages: 12 (3634 words) Published: May 26, 2013
The Enigma Machine and How it Worked.-Ibrahim Rashid

What is the Enigma Machine: The enigma machine was a coding device that was used by the Germans during World War 2 to write, send, and decipher encrypted messages.

How did it work: The enigma machine was a very complicated device. On the inside of the machine there were three rotors that contained all 26 letters of the alphabet. What would happen was that when someone would press a letter on the keyboard, a different letter would pop up on the paper, such as A for E, D for G, F for Z, and so on. These substitutions occur because of the positions of the rotors on the inside of the machine. The rotors are first situated at any random letter in the alphabet and when the button is pressed, the letter that is at the beginning of the rotor is put onto the paper. Then if the same letter were to be pressed again, a different letter would appear because the rotor will have changed position. The fully typed and encoded message would be printed out and mailed to the person it was designated to and then that person would put in that code into their enigma machine and that machine would decipher the encoded message.

Why did the Enigma machine work?: The enigma machine worked so well because there were so many different combinations of rotors that could have been used because each rotor had a different arbitrary sorting of letters. There were so many combinations for the enigma machine and its rotors. Things became much more complicated when German scientists began to use 5 different rotors which could fit into only 3 slots, which increased the amount of combinations that could be used in the enigma machine. With all these rotors and so few slots that were used in the enigma machine, there were countless possibilities of combinations to choose from. When people were decrypting the codes they were sent, they had to make sure they put the rotors in the exact same position as the person who sent it. This would increase the amount of possibilities that the enigma machine possessed which made it a lot harder to crack because of all the possible combinations.

My Goal: My goal in this paper is to answer several questions and provide my proof for these questions. I will be asking: 1. How many different ways can we fit 3 different rotors into 3 different slots? 2. How many combinations can we find if we have 4 different rotors that will fit into four slots? 3. How many combinations can I find if I have 5 rotors that can go into five slots? 4. How many combinations are there if I have 5 rotors but only three slots? 5. And finally, if I have 26 different starting places for each dial, how many starting places would I have in total? Note: I will also be attempting to show many patterns that arise while searching for the answers to these questions and I will try to explain these patterns.

List of Symbols: Before I begin, I feel it is important to list all the symbols that I will be using. I will be using the numbers: 1, 2, 3, 4, and 5 to represent a rotor, with 1 representing the first rotor, 2 representing the second rotor, and so on.

Rotors that I will be using

Rotors that I will be using

Amount of Rotors, slots, and combos
Amount of Rotors, slots, and combos
How will I proceed with this: I will first write out the amount of rotors, slots and combinations in a format like this: “X rotors: Y Slots: Z combinations”. Then underneath this general information I will write which rotors I will be using i.e. Rotors: 1/2/3. Then, I will show how I came up with the number of combinations. By looking at the amount of rotors and by representing each rotor with a number, i.e. 1, 2, 3, 4, or 5, I will be able to display all the possible combinations of the rotors. And then, underneath my combinations, I will write my explanation and, if there is one, the equation. This explanation of my set up is rather ambiguous so I will provide a sample display of how it will...