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)