
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!

CS 6260: Applied Cryptography October 30, 2006
Lecturer: Sasha Boldyreva Due: November 6, 2006
Problem 5.1, 15 points. Let H be a hash function constructed via the Merkle-Damgard transform. We define a MAC M ACK (M ) = H(K‖M ), where K is a random 160-bit string and M is a string of arbitrary length. Show that this MAC is not secure.
Problem 5.2, 20 points. Prove Theorem 2 from the slides on Authenticated Encryption. It states that MtE is not always IND-CCA. Hint. Assume that there exist IND-CPA secure encryption scheme. Modify it s.t. it is still IND-CPA secure but the MtE scheme is not IND-CCA secure for any MAC.
Problem 5.3, 20 points. Consider the batch-exponentiation problem that on inputs a k-bit integer N, a 1 , a 2 ,... , al ∈ Z N∗ and b 1 , b 2 ,... , bl ∈ ZN − 1 returns ab 11 · ab 22 ·... · ab l lmod N.
The naive algorithm for this problem uses 2lk + l − 1 multiplications modulo N. Design a new algorithm that uses 2k +2l^ −l−1 multiplications modulo N. This would often be more efficient, when l ≥ 2 not too large, but k is large, that is typically the case in cryptography.
Problem 5.4, 10 points. Compute the last two decimal digits of 3^1000 (by hand). Show your work.