Classic Caesar Cipher Encryption and Decryption Tool Written in C++
-
π Encrypt Text: Securely encrypts your text using the Caesar Cipher method.
-
π Decrypt Text: Decrypts text using a custom shift or tests all possible shifts.
-
π οΈ Customizable Shift Value: Choose a specific shift value for encryption and decryption.
-
π Test All Shifts: Automatically tests all possible shifts when decrypting.
-
π User-Friendly Interface: Easy-to-use command-line interface.
Ensure you have g++ or any C++ compiler installed on your system.
- Arch-based Linux:
sudo pacman -S gcc- Debian-based Linux:
sudo apt install g++ -y- Fedora:
sudo dnf install gcc-c++- Termux:
pkg install clang -y- For Linux/Termux:
git clone https://github.com/Anon-404/cpp-cipher
cd cpp-cipher
g++ cpp-cipher.cpp -o cpp-cipher -lstdc++Now, you are ready to use the cpp-cipher tool!
Run the cpp-cipher tool using the following syntax:
./cpp-cipherSelect the "Encryption" option to encrypt your plaintext with a specified shift.
Choose the "Decryption" option to decrypt ciphertext either by using a custom shift or testing all possible shifts.
./cpp-cipher
1) Encryption
Enter your text here: hello world
Enter shift number: 3
khoor zruog./cpp-cipher
2) Decryption
Enter encrypted text here: khoor zruog
1) Custom shift number
Enter shift number: 3hello worldContributions are welcome! Feel free to open issues or submit pull requests.