Implement the Tiny Encryption Algorithm (TEA).
a. Use your TEA algorithm to encrypt the 64-bit plaintext block
using the 128-bit key
Decrypt the resulting ciphertext and verify that you obtain the original plaintext.
b. Using the key in part a, encrypt and decrypt the following message using each of the three block cipher modes discussed in the text (ECB mode, CBC mode, and CTR mode).
Four score and seven years ago our fathers brought forth on this continent, a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.
For the knapsack example given in the text, the ciphertext was not reduced modulo n.
a. Show that for the specific example given in this chapter, the knapsack also works if the ciphertext is reduced modulo n.
b. Show that this is always the case, that is, show that it makes no difference to the recipient whether the ciphertext was reduced modulo n or not.
c. Is either case (reducing the ciphertext modulo n or not) preferable from Trudy’s perspective?
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.