Each letter was swapped for another through rotating wheels โ a permutation that changed with every keystroke
Enigma had 3 rotors chosen from a set of 5, a plugboard connecting 10 letter pairs, and adjustable starting positions. Together these gave roughly 159 quintillion possible settings.