C++ Implementation of DES algorithm.
Clone the repository and inside the folder run the following commands:
mkdir build
cd build
cmake ..
make
It will build the project and create a binary file named "des" inside the build/bin folder.
Now, run the file using
./bin/des
The implementation is in ECB mode and uses PKCS#7 for padding.
The script allows encryption and decryption using a 8-byte key for both text (in hex) and binary files.
For Text based
For File based (a binary file)