Implementation of DES algorithm in C++.
What is DES Algorithm?
Data Encryption Standard (DES) is a block cipher algorithm that takes plain text in blocks of 64 bits and converts them to ciphertext using keys of 48 bits. It is a symmetric key algorithm, which means that the same key is used for encrypting and decrypting data. Encryption and decryption using the DES algorithm.
- Clone this repository
git clone https://github.com/junaidrahim/DES.git
cd DES
git checkout main
- Building the binaries
mkdir build
cd build
cmake ..
make
This will build the DES
binary in build
directory.
$ ./DES --help
-v, --version Display program version info and exit.
-f, --file TEXT Takes a file as an input.
-o, --output TEXT Writes the output to the specified file.
-e, --encrypt-mode Runs in encrypt mode.
-d, --decrypt-mode Runs in decrypt mode.
--help, -h show help
Encrypt Text
./DES -f=../input.txt -o=./output.txt -e
Decrypt Text
./DES -f=./output.txt -o=./decrypted.txt -d
1905642 - Sounak Mukherjee
1905658 - Aditya Meharia
1905667 - Sagnik Chaudhuri
1905674 - Debmalya Chatterjee
1905725 - Ujjwal Singh Shekhawat
1905726 - Rohan Kumar
1905828 - Pratyush Khuntia
1905831 - Junaid Rahim
Submitted to Prof. Chittaranjan Pradhan