Question: Please help with the following programming in C: 2. Programming with ciphers of OpenSSL (80 points) A. You need to develop 2 C programs DES_ECB_Enc.c

Please help with the following programming in C:

Please help with the following programming in C: 2. Programming with ciphers

2. Programming with ciphers of OpenSSL (80 points) A. You need to develop 2 C programs "DES_ECB_Enc.c" and "DES_ECB Dec.c" that use the ECB mode DES cipher in OpenSSL to encrypt or decrypt a given file (of arbitrary length) into another encrypted or the decrypted file with any given encryption key and IV. Specifically, the programs need to support the following commands line arguments and usage DES-ECB-Enc -k -i -o DES-ECB-Dec -k -i -o where contains the 32-byte encryption key in hex format; contains the 8-byte IV in hex format; is the name of the input file (e.g., plaintext or cipertext): is the name of the output file (e.g., cipher text or plaintext). Note: and are text files, input file could be either text or binary file; output files is a binary file. The programs need to do basic sanity check on , IV file>, and gracefully exit when any illegitimate file is found (e.g., the -i -o DES-ECB-Dec -k -i -o where contains the 32-byte encryption key in hex format; contains the 8-byte IV in hex format; is the name of the input file (e.g., plaintext or cipertext): is the name of the output file (e.g., cipher text or plaintext). Note: and are text files, input file could be either text or binary file; output files is a binary file. The programs need to do basic sanity check on , IV file>, and gracefully exit when any illegitimate file is found (e.g., the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!