Question: CRYPTOGRAPHY RC4 5 Output Bias in RC4 This problem involves a bias in the key-stream output of RC4. The key-scheduling algorithm and key-stream generator algorithm
CRYPTOGRAPHY RC4 5 Output Bias in RC4 This problem involves a bias in the key-stream output of RC4. The key-scheduling algorithm and key-stream generator algorithm are given at the end of this assignment for reference. a) Compute the second key-stream byte of the output when the input to the key-stream gener- ator satisfies (S[1] != 2) and (S[2] == 0). Show your work. b) Estimate the probability that the second key-stream byte of RC4 is 0. State any assumptions that you make. (Your probability determination should be taken over all possible secret keys.) What does your result show? [Hint: In part (a), the second byte should be 0.] c) Suppose a single 5-byte message m is encrypted with many different RC4 secret keys and you are given all of the ciphertexts. How can you use your result of part b) in this situation? What can you likely learn about the plaintext?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
