Program1 - 2004 Summer COT 5937 Program #1 Advanced...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
2004 Summer COT 5937 Program #1 Advanced Encryption Standard Assigned: 5/27/04 (Thursday) Due: 6/16/04 (Wednesdsay) (Note: Work on this project in pairs. If you work alone, you'll still have to do the whole thing.) You will implement AES encryption and decryption for this assignment. You will be given a few preliminaries, but besides these, you are to follow the AES specification (for a standard block cipher) in the text for 128-bit blocks with 10 rounds of encryption. In particular, the program you write should give the user the following options: 1) Encrypt a file 2) Decrypt a file 3) Quit For choices #1 and #2, you should ask the user for the name of the file to encrypt or decrypt as well as the name of the file the output should be written to. Finally, you must ask the user for the key they would like to use. The user must enter the key as a HEX string of length 32. (Note that each HEX character stands for 4 bits and 4x32 = 128.) Here is an example of a key: 93203AB9FFE83D83C301D63DB8A5201F The format of a plaintext file should simply be that of a normal text file. The format of a
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 07/14/2011.

Page1 / 2

Program1 - 2004 Summer COT 5937 Program #1 Advanced...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online