# Enigma Maze Challenge

In 1918, German engineer Artur Shelbyus invented a rotary cipher and gave it the name “Enigma”. Enigma’s design is very clever. It realizes multi-table permutation encryption that switches the permutation table every time a word is changed by three stepping wheels. It also realizes the simultaneous encryption and decryption of one machine by the design of the reflector. Kind of operation. After years of development and improvement, Enigma eventually became the main cryptographic equipment used by the Germans during World War II, and became a generation of “legendary artifacts” in the history of cryptography.

The most widely used German military version of the Enigma cipher, its main structure consists of a set of keyboards (bulbs), a connecting plate, three reels and a reflector. Each time a button is pressed, the current will pass through the internal wires, passing through the connecting plate, the wheel 1, the wheel 2, the wheel 3, and then returning to the wheel 3, the wheel 2, the wheel 1 and the connecting plate through the reflector. Eventually returning to the keyboard to light the bulb corresponding to the other letter, this completes the encryption of a letter.

The picture on the right is the complete structure of an Enigma cipher. Please walk along the maze of internal wires to see what letters each letter will be encrypted into, and write the correspondence between the letters. In the space below. After writing, can you find any interesting rules? Think about it, why is there such a law? The answers are in the previous issues of the “Password” column.

PS In the real Enigma cipher machine, each time you press the keyboard, the wheel will step by one, and the connection of the wire will change accordingly. If you are interested, you can also simulate the stepping of the wheel and experience it. How does the real Enigma work.

Classmates, the labyrinth is over! Are your eyes still okay? Anyway, the cat’s small eyes have been smashed into a seam. The answer will be announced in the WeChat public account “Daily inside and outside the classroom”, so stay tuned. In order not to let everyone’s hard work, please show your answers before we announce the answer.