Skip to content

Encrypt and decrypt files using DES-ECB algorithm

Notifications You must be signed in to change notification settings

shubhangi47/DES-ECB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 96.6%
  • Makefile 3.4%