Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Instructions for a university-level homework assignment in information assurance. Students are tasked with deciphering encrypted messages using the vigenere cipher and working with aes and des encryption. The assignment involves calculating the index of coincidence, finding key characters, and decrypting files using various modes and key lengths.
Typology: Assignments
1 / 2
Due October 6, 2005 Submit electronic files via compass. See newsgroups for details of submitting via compass.
If you don't have access to a Linux or Windows system with a C compiler, let us now as soon as possible. a. Fetch an encrypted file and a key file from http://www.cs.uiuc.edu/class/fa06/cs498sh/hw4/hw4-enc.bin and http://www.cs.uiuc.edu/class/fa06/cs498sh/hw3/key06-128.bin. Decrypt the file using ECB mode. It should result in a plain English file. Submit the resulting plaintext. b. Select a file to encrypt using a key in CBC mode. Submit the encrypted file, key file, and initialization vector file. c. Try encrypting your file in ECB mode using different key lengths using 128 bit, 192 bit, and 256 bit keys. AES operations are very fast. You will want to use a high resolution timer such as the gettimeofday or clock_gettime system calls. In addition, you will probably need to perform your target measured operation multiple times to have something that can be measured by the clock granularity. Submit a table of the key length and the associated average encrypt time. d. Measure the encryption using DES. On Linux the function ebc_crypt and des_parity should do the trick. On Windows the base provider for the Crypto API should provide a DES encryption operation. I will verify that over the weekend and post details in the newsgroup. Add a row to your table from part c showing the average time for the DES encryption operation.