Question: Consider a block encryption algorithm that encrypts blocks of length (n), and let (N=2^{n}). Say we have (t) plaintext-ciphertext pairs (P_{i}, C_{i}=mathrm{E}left(K, P_{i}ight)), where we

Consider a block encryption algorithm that encrypts blocks of length \(n\), and let \(N=2^{n}\). Say we have \(t\) plaintext-ciphertext pairs \(P_{i}, C_{i}=\mathrm{E}\left(K, P_{i}ight)\), where we assume that the key \(K\) selects one of the \(N\) ! possible mappings. Imagine that we wish to find \(K\) by exhaustive search. We could generate key \(K^{\prime}\) and test whether \(C_{i}=\mathrm{E}\left(K^{\prime}, P_{i}ight)\) for \(1 \leq i \leq t\). If \(K^{\prime}\) encrypts each \(P_{i}\) to its proper \(C_{i}\), then we have evidence that \(K=K^{\prime}\). However, it may be the case that the mappings \(\mathrm{E}(K, \cdot)\) and \(\mathrm{E}\left(K^{\prime}, \cdotight)\) exactly agree on the \(t\) plaintextcipher text pairs \(P_{i}, C_{i}\) and agree on no other pairs.

a. What is the probability that \(\mathrm{E}(K, \cdot)\) and \(\mathrm{E}\left(K^{\prime}, \cdotight)\) are in fact distinct mappings?

b. What is the probability that \(\mathrm{E}(K, \cdot)\) and \(\mathrm{E}\left(K^{\prime}, \cdotight)\) agree on another \(t^{\prime}\) plaintextciphertext pairs where \(0 \leq t^{\prime} \leq N-t\) ?

Step by Step Solution

3.40 Rating (159 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

a We need only determine the probability that for the remaining mathrmNmathrmt plaintex... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Cryptography And Network Security Questions!