

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!


udaya shankar Page 1 of 2 3/10/
No. Recall that RSA restricts the message to be signed to be smaller than n.
If m is larger than n, then message m and message (m mod-n) would have the same signature. So it would be easy to generate different messages that have the same signature.
Otherwise it would be easiy to find two messages with the same hash. Let M' be any message that is not a multiple of 512 bits. Let M be M' padded as in MD4, so M is a multiple of 512 bits. If no padding is used for M (because it is a multiple of 512 bits) then MD4(M) would be the same as MD4(M').
Let s 1 be the signature of m 1 , i.e., s 1 = m 1 d^ mod-n. Let s 2 be the signature of m 2 , i.e., s 2 = m 2 d^ mod-n. Signature(m 1 j) = s 1 j^ mod-n [because (m 1 j)d^ mod-n = (m 1 d)j^ mod-n]. Signature(m 1 โ m 2 ) = s 1 โ s 2 mod-n [because (m 1 โ m 2 )d^ mod-n = (m 1 d)โ (m 2 d) mod-n]. Signature(m 1 jโ m 2 k) = s 1 jโ s 2 k^ mod-n [from above].
udaya shankar Page 2 of 2 3/10/
25 = (11001) 2 [25 = 16 + 8 + 1] 131 (1)^ mod-15 = 11 131 (10)^ mod-15 = 11โ 11 mod-15 = 121 mod-15 = 1 131 (11)^ mod-15 = 1โ 11 mod-15 = 11 mod-15 = 11 131 (110)^ mod-15 = 11โ 11 mod-15 = 121 mod-15 = 1 131 (1100)^ mod-15 = 1โ 1 mod-15 = 1 131 (11000)^ mod-15 = 1โ 1 mod-15 = 1 131 (11001)^ mod-15 = 1โ 11 mod-15 = 11 So 131^25 mod-15 = 11
It implies that the encryption algorithm is weak. A good algorithm would randomize the plaintext sufficiently so that the compression algorithm would not be able to find structure to exploit.
It does not imply anything about the plaintext or the compression algorithm.
No. An attacker without the key still has to search through the key space to extract plaintext from ciphertext. Consider an extreme case: let the data block size be 8 bits , let the plaintext consist of blocks m 0 , m 1 , m 2 , โฆ, and the ciphertext consist of blocks c 0 , c 1 , c 2 , โฆ The attacker knows that each cipherblock comes from one of 256 plaintext values. But this does not help deciphering the ciphertext because there would be no correlation between the different ciphertext blocks.