Math Problem Statement
Exercise 5.5 (Entropies in the affine cipher) Compute H(K|C) and H(K|P,C) for the Affine cipher when used to encrypt a single letter from the English alphabet. Assume that keys and plaintexts are uniformly chosen.
Solution
Ask a new question for Free
By Image
Drop file here or Click Here to upload
Math Problem Analysis
Mathematical Concepts
Cryptography
Conditional Entropy
Affine Cipher
Probability Theory
Formulas
C = (aP + b) mod 26
H(X) = - ∑ P(X=x) log2 P(X=x)
H(X|Y) = - ∑ P(X=x, Y=y) log2 P(X=x | Y=y)
H(K|C) = log2 12
Theorems
Conditional Entropy Theorem
Suitable Grade Level
Undergraduate Level (Cryptography or Information Theory Course)
Related Recommendation
Proving H(K|C) >= H(P|C) in Cryptography: Understanding Entropy and Mutual Information
Proving H(K|C) >= H(P|C) in Cryptosystems with Entropy
Probability Calculation in Shift Cipher for Ciphertext B
Solution for Information Theory Problem 12: Entropy, Symbol Duration, Productivity, and Redundancy
Shannon-Fano and Huffman Coding: Calculating Entropy and Compression Efficiency