Assume that Alice sends a message of 640 bits encrypted using DES to Bob and that the 65th bit of the ciphertext is flipped during transmission. How many blocks of the plaintext at the Bob’s side are affected if the message is encrypted under ECB, CBC, 8-bit CFB, 8-bit OFB, and CTR modes, respectively?
Solution
ECB
ECB: 8 bits. Only bits in that block will be affected.
CBC
CBC: 575 bits, all corresponding cipher blocks are affected
CFB
CFB – 16 bits, the corresponding block and the next are affected.
OFB
OFB: 8 bits, Only affects the corresponding bit
CTR
CTR: None
---
all the best
Assume that Alice sends a message of 640 bits encrypted using DES to Bob and that...
nonlinear. Here we want you to verify this property by computing the output of S, for the following two pairs of inputs. The S-box S is given as follows: 0-6. (10 points) One important property which makes DES secure is that the S-Boxes are S-box S S0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 14 04 13 01 02 15 11 08 03 10 06 12 05 09 00 07 1...
Alice wants to send a message m to Bob using Rabin Cryptosystem. Bob makes the public key n = 77 and sends it to Alice. By using Rabin Cryptosystem, a) Alice encrypts her message m and sends the encrypted message c to Bob. What are the encrypted messages if m = 8, 36, 41 and 69? b) Alice encrypts her message m = 6 and sends the encrypted message c to Bob. Bob decrypts the message. What are the possible...