
CMSC 414: HW 2-S09
___________________________________________________________
1. (text 5.1) Would it be reasonable to compute an RSA signature on a long message m
by signing m mod-n (i.e., using (m mod-n)
d
mod-n as the signature).
___________________________________________________________
2. (text 5.6) Why do MD4, MD5, and SHA-1 require padding of messages that are
already a multiple of 512-bits?
___________________________________________________________
3. (text 6.8) Given your RSA signature on m
1
and m
2
, how can one compute your
signature on m
1j
⋅m
2k
for any positive integers j and k.
___________________________________________________________
4. Using the efficient algorithm, compute 131
25
mod-15.
___________________________________________________________
5. Suppose a plaintext file of 5 MB is encrypted with a secret-key algorithm (e.g., DES,
AES), and the resulting file is compressed with a lossless compression algorithm
(e.g., zip), and the resulting file is 3 MB. What does this imply about the plaintext,
about the encryption algorithm, and about the compression algorithm.
___________________________________________________________
6. In secret-key encryption, a small key size (e.g., 16 bits instead of 64 bits) weakens the
encryption. Does using a small data block size (e.g., 16 bits instead of 64 bits)
weaken the encryption?
___________________________________________________________