Skip to content
/ des Public

Implementation of Data Encryption Standard (DES) in Python.

License

Notifications You must be signed in to change notification settings

Vipul97/des

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Data Encryption Standard (DES)

Implementation of Data Encryption Standard (DES) in Python 3.8.

Supports Electronic Codebook (ECB) and Cipher Block Chaining (CBC) Block Cipher Modes of Operation.

Instructions

Run des.py.

    usage: des.py [-h] {ecb,cbc} ...

    positional arguments:
      {ecb,cbc}
        ecb       use Electronic Codebook (ECB) encryption mode
        cbc       use Cipher Block Chaining (CBC) encryption mode
    
    optional arguments:
      -h, --help  show this help message and exit
    usage: des.py ecb [-h] (-e | -d) key_file infile outfile
    
    positional arguments:
      key_file    text file to be used as key for encryption/decryption
      infile      text file to be used as input for encryption/decryption
      outfile     text file to be used as output for encryption/decryption
    
    optional arguments:
      -h, --help  show this help message and exit
      -e          encrypt
      -d          decrypt
    usage: des.py cbc [-h] (-e | -d) key_file infile outfile iv_file
    
    positional arguments:
      key_file    text file to be used as key for encryption/decryption
      infile      text file to be used as input for encryption/decryption
      outfile     text file to be used as output for encryption/decryption
      iv_file     text file to be used as IV for encryption/decryption
    
    optional arguments:
      -h, --help  show this help message and exit
      -e          encrypt
      -d          decrypt

About

Implementation of Data Encryption Standard (DES) in Python.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages