Enigma is a one-to-one creation of an enigma eachine used during World War II to encrypt messages. It cna be used to both encrypt and decrypt messages like an enigma machine.
- Encrypt messages in the enigma style
- Display encryption settings (pseudo-plugboard and rotor configurations)
- Decrypt messages encrypted by enigma (given the appropriate plugboard and rotor configurations)
- Ensure that you have a C++ compiler installed on your system (e.g., GCC, Clang).
- Clone this repository or download the source code as a ZIP file and unzip.
- Open a terminal or command prompt and navigate to the directory where the source code is located.
- Compile the C++ files using the following command:
g++ Enigma.cpp -o Enigma
- Run the program using the following command:
./Enigma
- Follow the on-screen prompts to either encrypt, decrypt, or exit.
- Encrypting a message ask you for a message to encrypt and will output your encrypted message with the settings used to generate it. Decrypting a message will ask you for an encrypted message and the settings used to generate it and will output the decrypted message.