Can a PY-Enigma simulate an Enigma machine?

Can a PY-Enigma simulate an Enigma machine?

Simulation of other Enigmas, such as the various commercial, railroad, foreign, and Abwher (Military Intelligence) models may come later if there is enough interest and data available. Currently, Py-Enigma can simulate the 3 and 4 rotor Enigma machines used by the German army, navy, and air force.

Why was Py-Enigma used in the German Army?

Py-Enigma makes it possible to both encrypt and decrypt messages that can be sent to, or received from, actual Enigma machines used by the German army (Heer), air force (Luftwaffe), and navy (Kriegsmarine). It is my hope that library will be useful to Enigma enthusiasts, historians, and students interested in cryptography.

What is the user interface of the Enigma machine?

The enigma keyboard. The user interface is very simple — it is represented by a keyboard of 26 letters. It is used to insert the input in the machine. But also, the pressed keys activate a mechanism that changes the state of the first rotors, rotating it with one unit, thus changing the encryption key after every press of the a certain button.

Who was the inventor of the Enigma machine?

Enigma — one of the most powerful encryption device built in that period. Created by Arthur Scherbius and Richard Ritter, at first the navy of Germany didn’t pay any attention to it’s invention. But in 1926 the navy started to build its own Enigmas.

How are the rotors of an Enigma machine?

The enigma rotors. The rotors are special gears with 26 pins. Every pin is related to an English letter. When an electric signal (in mechanical machine) comes to a rotor, it will be passed to the next rotor at the same place. At positions (0, 0, 0) every letter will be encoded as itself.

What was the Enigma used for in World War 2?

A historically accurate Enigma machine simulation library. Py-Enigma is a Python 3 library for simulating the Enigma machines used by the German armed forces (Wehrmacht) during World War 2.