Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

This is all the information that was given for Information Security class, please help me. Final Project-5 AES Encryption and Decryption Using Counter Mode Input

This is all the information that was given for Information Security class, please help me.image text in transcribedimage text in transcribed

Final Project-5 AES Encryption and Decryption Using Counter Mode Input File: input txt, key txt and ctrtxt Time Limit: No Problem Description cipher in Advanced Encryption Standard (AES) is a wel-known symmetric block modern cryptography. It was published by NIST in 2001. Please write two programs for encryption and decryption of AES using CTR mode (e.g., encrypt.cpp and decrypt cpp). To test the correctness of your encryption and decryption, for simplicity, your cipher only deals with two 128-bit plaintext with Hex formats (please see Input File Format and two 128-bit ciphertext with Hex formats (please see output File Format). The final project will be checked in computer room at the end of this semester. Note: the mode will be a little modified. Input File Format There are three input files: one is input.txt (the plaintext or ciphertext) for encryption and decryption. Other two files are key.ixt to store AES's key and ctr.txt to store two counter value (counter1 and counter2). The first two lines in input.txt contains two 128- bit input data with Hex formats (please refer to Sample Input). Also, the first line in key.txt has 128-bit key, and ctr.txthas two 128-bit counter values (lst line: counter1; 2nd line: counter2). output Format Two 128-bit plaintext (or ciphertext in Hex formats shown on screen. Final Project-5 AES Encryption and Decryption Using Counter Mode Input File: input txt, key txt and ctrtxt Time Limit: No Problem Description cipher in Advanced Encryption Standard (AES) is a wel-known symmetric block modern cryptography. It was published by NIST in 2001. Please write two programs for encryption and decryption of AES using CTR mode (e.g., encrypt.cpp and decrypt cpp). To test the correctness of your encryption and decryption, for simplicity, your cipher only deals with two 128-bit plaintext with Hex formats (please see Input File Format and two 128-bit ciphertext with Hex formats (please see output File Format). The final project will be checked in computer room at the end of this semester. Note: the mode will be a little modified. Input File Format There are three input files: one is input.txt (the plaintext or ciphertext) for encryption and decryption. Other two files are key.ixt to store AES's key and ctr.txt to store two counter value (counter1 and counter2). The first two lines in input.txt contains two 128- bit input data with Hex formats (please refer to Sample Input). Also, the first line in key.txt has 128-bit key, and ctr.txthas two 128-bit counter values (lst line: counter1; 2nd line: counter2). output Format Two 128-bit plaintext (or ciphertext in Hex formats shown on screen

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

More Books

Students also viewed these Databases questions

Question

how many hours do private security officers need in training?

Answered: 1 week ago

Question

5. Describe the impossible trinity.

Answered: 1 week ago