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:
-
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.
-
The name of the encrypted data input file. This must be a binary file. See the file test.hex as an example.
-
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.