
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

(a) List all repeated sequences of length 3 or more and the difference in their positions. (b) Make a guess for what the period is and build a histogram of letters for the first position in the cipher. (c) The decryption of this ciphertext (you do not have to find it) is hard to read because word breaks are not preserved. How would you fix this problem?
(a) Find φ(pq). (b) Let e = 3, find d such that ed ≡ 1 (mod φ(pq)). (c) Encrypt M = 47. (d) Find the encryption of: M = 0 and M = 1, M = 186. How does RSA handle these cases?
(a) How many would it take to search through the entire key space of 2^128? (b) Suppose DES ran at the same speed; how long would it take to search through all of its key space? (c) Given that DES is actually somewhat slower than AES, why is it considered insecure?
E(K, M ) = (M ∗ K) (mod 32)
(a) What is the block size of this cipher? What is the effective key space? (b) Encrypt the message 24 17 26 25 12 using CBC mode with IV = 19 and K = 7. (c) Add 1 to the third block in the ciphertext and decrypt using CBC mode.