Enigma – Mission X Challenge Accomplished with Python

Table of Contents
Github Repo: https://github.com/cuicaihao/Annotated-Transformer-English-to-Chinese-Translator
Background #
Inspired by Enigma - Mission X Challenge, this repo is used to save the research and practice efforts in Different Cipher methods. The primary goals are using python programming language to achieve targets listed as follows:
Dependency #
- python 3.11 (use conda or pyenv)
- pandas
- matplotlib
Python 3.11 is used for development work, and I believe python version 3.8, 3.9, 3.10 are all OK. FYI, python 3.11 is about 25% faster than 3.10python-speedy for details.
You will need to install pandas and matplotlib for Excel operation and plot figures.
Enigma Machine #
Take a step by step tutorial by notebook:Chapter_B_Enigma to develope a Enigma Machine in python.
Eventually, use the Enigma Cipher Machine Emulator to accomplish the Mission X.

Here is the final output for the code for the Mission X.
| Date | Ciphertext | Plaintext_German | Translation_English |
|---|---|---|---|
| 1940-04-07 | SYTUN TJBFC BRSSY XNPKQ QZMDW | Keine besonderen ereignisse | Noting to report |
| 1940-04-11 | SDPNV OLDCQ HIBMK QTONC VNZXU SKSPZ IW | Wir werden nachsten montag angreifen | We will next Monday to attack |
| 1940-04-12 | OJSBI BUPKA ECMEE ZH | Ziel hafen von DOVER | Target port of DOVER |
| 1940-04-12 | REVNU XWYCV HZFSH NFMSP | Warten auf Anweisungen | Waiting for instructions |
Credits #
- Code Credits belong to the Author Raymas: enigma-cipher-machine.
- Small Changes are made to accomplish the Mission X.