https://github.com/junaidrahim/des
Cryptography Project - Implementation of DES Algorithm
https://github.com/junaidrahim/des
Last synced: 21 days ago
JSON representation
Cryptography Project - Implementation of DES Algorithm
- Host: GitHub
- URL: https://github.com/junaidrahim/des
- Owner: junaidrahim
- Created: 2021-08-30T15:04:31.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-22T12:15:26.000Z (about 4 years ago)
- Last Synced: 2025-12-28T16:22:30.930Z (5 months ago)
- Language: C++
- Size: 157 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DES Algorithm
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.
## Table of Contents
- [DES Algorithm](#des-algorithm)
- [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Usage](#usage)
- [Group Details](#group-details)
## Installation
1. Clone this repository
```shell
git clone https://github.com/junaidrahim/DES.git
cd DES
git checkout main
```
2. Building the binaries
```sh
mkdir build
cd build
cmake ..
make
```
This will build the `DES` binary in `build` directory.
## Usage
```sh
$ ./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
```bash
./DES -f=../input.txt -o=./output.txt -e
```
Decrypt Text
```bash
./DES -f=./output.txt -o=./decrypted.txt -d
```
## Group Details
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