Skip to content

C code DES decryption. Takes an encrypted file along with a file containing a DES key, and outputs the plaintext file.

Notifications You must be signed in to change notification settings

delhatch/DES_decrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DES_decrypt

Author

Del Hatch

** DES decryption software

The purpose of this project is to create an easy-to-run executable that will perform DES decryption on a binary file. The output is written to a user-specified binary file.

A pre-compiled executable for Windows machines is also provided.

** Inputs

The command-line executable requires three parameters, in this order:

  1. The name of the file containing the DES key. This must be an 8-byte long hex file. See the file key.hex as an example.

  2. The name of the encrypted data input file. This must be a binary file. See the file test.hex as an example.

  3. The name of an output file. The cleartext results will be written to this file, as binary data. NOTE: This program will over-write (delete) any pre-existing file with the same name.

    EXAMPLE:

des_decrypt.exe key.hex test.hex output.hex

** Miscellaneous

The provided test.hex file, when decrypted with the included key.hex file, will (properly) result in clear text of all zeros.

Note that the included des_test_vectors.txt file contains DES test vectors. The files I provide (test.hex/key.hex) are the first decryption test vector.

About

C code DES decryption. Takes an encrypted file along with a file containing a DES key, and outputs the plaintext file.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages