Skip to content

A Practical Implementation of the Infamous Enigma Machine in C++

License

Notifications You must be signed in to change notification settings

shashankp28/enigma-machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Enigma Machine

A Practical Implementation of the Infamous Enigma Machine in C++

  1. Clone the repository:
git clone https://github.com/shashankp28/enigma-machine.git
  1. To build The Enigma Machine run the following command:
make
  1. You can modify the PlugBoard pairing from enigma.conf file

  2. You can modify the rotors used (select distinct 3 of 5) in enigma.conf file

  3. You can modify the initial position of the rotors in enigma.conf file

  4. You can modify the Reflection rotor in enigma.conf file

  5. To Encrypt using The Enigma Machine run the following command:

./bin/enigma enigma.conf input.txt output.txt
  1. To Decrypt using The Enigma Machine switch the input and output files:
./bin/enigma enigma.conf output.txt input.txt
  1. Encryption/Decryption Rate: ~ 7.7 MB/s

About

A Practical Implementation of the Infamous Enigma Machine in C++

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published