TNS Vol.2 (CIAP 2022), 02 February 2023
* Author to whom correspondence should be addressed.
The Enigma machine is a kind of advanced mechanical encryption system used by the Nazi German military during World War II, with the rotor structure as the main structure. Cryptographic machines generally take the form of a boxed structure. When encrypting a string of characters, the user enters the information into a machine or system and gets ciphertext. The original information can be obtained by reverse operation of the ciphertext. As the operator enters the message to be encrypted, a sequence of plain-length passwords can be recorded based on the sequence of letters lit up on the lamp board. This article will focus on the simple structure of the Enigma machine and the mathematics behind it, thus illustrating its importance and security in the history of human encryption. Then, to further explore the working principle of the Enigma machine and help to better understand its internal nature, the essay has provided a simple code that can realize the simple function of the Enigma, and also shows a simply equipped Enigma machine.
mathematical principle, password, enigma machine, decrypt, encrypt
1. Enigma | Definition, Machine, History, Alan Turing, & Facts | Britannica 2022. Enigma. [online] Available at: [Accessed 25 July 2022].
2. The Machine That Changed the Course of World War II | by Andrei Tapalaga ✒️ | History of Yesterday 2020. The Machine That Changed the Course of World War II. [online] Available at: [Accessed 25 July 2022].
3. Enigma Machine | Brilliant Math & Science Wiki 2022. Enigma Machine. [online] Available at: [Accessed 25 July 2022].
4. The Enigma Machine: keyboard and light panel (arizona.edu) 2022. The Enigma Machine: keyboard and light panel. [online] Available at: [Accessed 25 July 2022].
5. K, Prasad and M, Kumari (2020), A review on mathematical strength and analysis of Enigma< [2004.09982] A review on mathematical strength and analysis of Enigma (arxiv.org)>
6. Enigma Steckerbrett (cryptomuseum.com) 2022. Enigma Steckerbrett. [online] Available at: [Accessed 25 July 2022].
The datasets used and/or analyzed during the current study will be available from the authors upon reasonable request.
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. Authors who publish this journal agree to the following terms:
1. Authors retain copyright and grant the journal right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgment of the work's authorship and initial publication in this journal.
2. Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgment of its initial publication in this journal.
3. Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) prior to and during the submission process, as it can lead to productive exchanges, as well as earlier and greater citation of published work (See Open Access Instruction).