Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 588 Bytes

README.md

File metadata and controls

15 lines (11 loc) · 588 Bytes

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