A random bit generator produces keys with the following probabilities: Probability of generating a 0 = 1/4 Probability of generating a 1 = 3/4 Suppose you encrypt a single-bit plaintext (which has an equal probability of being either 0 or 1) using XOR with a key from this generator. You observe that the ciphertext bit is 1. What is the probability that the original plaintext bit was 0? Hint: - Compute the probability for the following table: M = 0, K = 0, C = 0, probability = ? M = 0, K = 1, C = 1, probability = ? M = 1, K = 0, C = 1, probability = ? M = 1, K = 1, C = 0, probability = ? - Then given ciphertext is 1, which scenarios can we rule out immediately? - Finally, calculate the probability that plaintext (M) was 0 given ciphertext is 1 i.e., P(M=0, C=1) / P(C = 1) Multiple choice

A

1/3 (approx. 33.3%)

B

3/4 (75%)

C

1/2 (50%)

D

1/4 (25%)

Log in for full answers

We've collected over 50,000 authentic original questions and detailed explanations from around the globe. Log in now and get instant access to the answers!

Similar Questions

More Practical Tools for Students Powered by AI Study Helper

Join us and instantly unlock extensive past papers & exclusive solutions to get a head start on your studies!