From the course: Learning Assembly Language

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Developing an Enigma-like file encryptor

Developing an Enigma-like file encryptor - Python Tutorial

From the course: Learning Assembly Language

Start my 1-month free trial

Developing an Enigma-like file encryptor

- [Instructor] As we progress through the course, we'll use our newly gained knowledge to develop a file encryptor. We'll base this on the World War II three rotor Enigma machine. As we can see, the Enigma has a plug board at the front and a set of rotors located in slots. There could be up to eight rotors and for any session, three would be selected and placed in the machine. The rotor consists of wires, which connect two of the 26 characters of the alphabet, therefore providing a full alphabet substitution. For each rotor, the alphabet wheel can be set to start character. So a single rotor could be in one of 26 possible states. The way the Enigma works is that a character is entered on the keyboard, it passes through the plug board, and may be exchanged with another character. Up to 10 characters of the alphabet could be exchanged. The character that comes out of the plug board is then passed to the first rotor. When…

Contents