Consider a block cipher whose block length is π. π = 2π is number of possibilities. Imagine we have π‘ plain text-cipher text pairs { ππ, πΆπ = πΈπΎ(ππ) } , where the key πΎ selects one of the π! Possible mappings.
Now, imagine you want to brute force this encryption algorithm for the key. In each try, you generate the test key πΎβ² and check whether πΆπ = πΈ(πΎβ²,ππ); i=1,β¦,t. If πΎβ² maps ππ to its proper πΆπ, we have an evidence that πΎβ² = πΎ. However, it could be the case that πΈπΎ(.) and πΈπΎβ²(.) exactly map the π‘ given plain-texts to the same set of cipher-texts but map the other inputs differently.
a) whatβs the probability that πΈπΎ(.) and πΈπΎβ²(.) are distinct mappings? b) whatβs the probability that πΈπΎ(.) and πΈπΎβ²(.) agree on another π‘β² plain-text cipher-text pairs where 0 β€ π‘β² β€ π β π‘?
How can I solve this problem?