Consider the following encryption device. Cipher block size is 32 bits.
There are 8 rounds and key size is 32 * 8 = 256 bits. In each round 32 bits
are used. Call them k_0, k_1, ..., k_7. There is a permutation P that
applies to the 32 bit block and permutes the bits. Here is the cipher:
input
|
[ P ]
|
(+)<---- k_0
|
[ P ]
|
(+)<---- k_1
|
.
.
.
|
(+)<---- k_7
|
[ P ]
|
output
- Break this cipher using chosen-plaintext attack (recover the key).
- Break this cipher using known-plaintext attact (recover the key).
- How may key bits are there really?