Simulation of the Enigma K machine

This project presents a recreation and simulation of the original Enigma K machine, used in the Spanish Civil War to encrypt and decrypt hidden messages. Its use aims to be an educational aid in museums and expositions in an immersive Virtual Reality (iVR) experience, letting the user interact and understand the inner workings of the piece.

Equipped with different wirings, rotors, and a faithful encryption system, it depicts a high fidelity historical copy useful for engaging in a deeper level of understanding than a simple video or block of text. Containing a total of three different scenes, which take the user through historical sites such as Terminus, a radio communication mobile unit, among others, letting the player immerse themselves in the authentic spaces where the Enigma K machine was used.

IN COLLABORATION WITH

The purpose of this project is to construct an historical environment and recreate the Enigma K machine and its functions by a 3D model and its corresponding programming, tailored for standalone Virtual Reality devices. The main objectives of this project are:

• HISTORICAL ACCURACY IN RECONSTRUCTION

The reconstruction is based on the last few remaining pictures available about the secret encryption techniques that were used during the Spanish Civil War. Thanks to this research, numerous results have surfaced through different history researchers, who’ve come together to assemble a photography database to serve as reference for the creation of the models.

• DEVELOPMENT OF THE INNER WORKINGS OF THE MACHINE

To create and ensure the function of the encryption system, multiple parts have to be taken into account, like the 3 different rotors this machine had, its reflector, the unique keyboard its equipped with, and how the coding and decoding works. In this simulation, both encrypting and decrypting are possible, and it follows a faithful step list to that of the real life counterpart, getting the code to input from a monthly list that was shared to operators, as well as the order and positions of each rotor, along with the message.

• CREATION OF A VIRTUAL REALITY EXPERIENCE

For the users to interact with the machine, different environments have been created, as well as a step by step videogame that teaches the user how to operate the piece in a simple way, aiming to aid in the understanding and long lasting image the user has of the machine. These steps have been tailored to be easy to understand for the public of all ages, since it’s looking to be available to the general public in historical museums, as well as schools as part of the history subject. With this, a QR system has been designed to aid with the rotation of bigger groups, which shows other relevant historical information in the form of minigames.

This project was carried out using industry standard software as primary tools, with Blender, Substance Painter, and Unreal Engine 5 being the most important.

• STUDY OF REFERENCES

Firstly, the historical photographs from the target years were analyzed, discarding other Enigma models mixed within them, and understanding the space and distribution there was to work with in Virtual Reality

• ASSET CREATION AND HISTORICAL REVIEW

Based on these references, 3D modelling and texturing assets were created, featuring all the necessary pieces from the machine and its relevant environmental models to place it in. All these assets were instantiated and subjected to historical review.

• ENCRYPTION SYSTEM

With the parts created, a system was implemented to take the code input by the user, the relevant rotor positions, and the following message written to translate appropriately, allowing the codification or decodification of any given message

•  LEVEL DESIGN

The experience was created, featuring a step by step guide where the program ensures the user is following through all the tasks assigned to be able to complete the decodification. This guide teaches the user how to interact with the environment in Virtual Reality, as well as teaching all the necessary information to be able to operate a Enigma K machine on their own

•  VARIANTS

Along with an individual experience, a cooperative program was created, featuring different clues outside of the videogame, so that groups of three can interact between them and find the necessary codes so that one of the users in Virtual Reality can decode a message

Gaia Hernández Reixach, Joaquín García Andrés, Jose Manuel Aroca Fernández, David Checa Cruz, (2026), Designing an Immersive Serious Game for Learning Historical Cryptography: Simulating Enigma K, https://doi.org/10.1007/978-3-032-33509-8_31

No funding

Project details
PROJECT TITLE:

Simulation of the Enigma K machine

FIELD:

Education

LAST VERSION RELEASE:

November 2026

DOWNLOAD LINK:

Soon