Testing Quiz for the Final Project
- Problem 1:
- If you wrote the program, please, have a mode that the input is entered by user and test your program on the
inputs listed below. You only need to document the output your programs prints. In addition to my inputs, it would be great if
you can implement a mode that
the input is randomly generated using the Blum-Blum-Shub(BBS) pseudo-random bit generator. Document results for this step as well.
List of inputs:
- input sequence = 111010000100
key = 001001110
- input sequence = 110101001010
key = 111000111
- input sequence = 001101001001
key = 011011001
- If you didn't write the program, perform 2 rounds of encryption and then decryption by hand and
document all steps of your solution for this input:
- input sequence = 000100000001
key = 001001110
- Problem 2 (YOU ONLY NEED TO DO THIS QUESTION IF YOU DIDN'T SUBMIT STEP 2 of the Project):
Pay attention: this question doesn't require to understand all technical issues related to the different Modes of Operations: ECB
and CBC. You only need to read an overview of the modes and have some general understanding of the process in order to answer this
question.
- Explain how the name of each mode is related to the actual way the mode is operated.
- Which mode is more secure, ECB or CBC? List the strength and weakness of each mode to justify your answer.