# What is the difference in exchanging the Enigma rotors in their slots?

I have a question regarding the exchange of the rotors in a enigma machine.

I know that there are 3 slots and that up to 8 rotors can be used in those slots. What I don't understand is, as all the rotors have 26 letters each (they are equal), what is the difference in exchanging the rotors in the slots?

• – e-sushi Jan 31 '18 at 16:43

They may look equal but in fact each rotor defines a different letter substitution. A letter substitution is a function that converts each of the 26 letters into another letter. For example $a\rightarrow z$, $b\rightarrow x$, $c\rightarrow y$ and so on. There are many ways this can done. Therefore, exchanging the rotors changes how each letter is substituted in the cipher.
Furthermore, each letter to be encrypted actually goes through all three rotors one after the other, being substituted each time. Also the rotors rotate so that this substitution function changes every letter. This rotation shifts the letter substitution so if in the initial position $a\rightarrow s$ then one rotation along would substitute $b\rightarrow t$ since $b$ and $t$ are the next letters from $a$ and $s$ respectively.