quangtnv / DES-ECB

Encrypt and decrypt files using DES-ECB algorithm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DES-ECB Encrytion/Decryption

DES encryption is located in the des directory under the root directory The key is named deskey.txt The output from my commands using DES is in the des/output directory.

Each folder has a makefile. To compile the code, simply run the make command. To delete output files and compiled files, run make clean.

To encrypt a file using DES:

./DES_ECB_Enc -k deskey.txt -i plaintext.txt -o ciphertext.mydesecb

To decrypt a file using DES:

./DES_ECB_Dec -k deskey.txt -i ciphertext.mydesecb -o plaintext-des.txt

About

Encrypt and decrypt files using DES-ECB algorithm


Languages

Language:C 96.6%Language:Makefile 3.4%