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) 多项选择题

A

1/3 (approx. 33.3%)

B

3/4 (75%)

C

1/2 (50%)

D

1/4 (25%)

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

类似问题

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!