Question

In: Computer Science

For CBC mode with DES, if there is an error in C_1, are any blocks beyond...

For CBC mode with DES, if there is an error in C_1, are any blocks beyond P_2 affected when decryption occurs? If instead there is a source error in P_1, how many ciphertext output blocks are affected?

Solutions

Expert Solution

1) For CBC mode with DES, if there is an error in C_1, are any blocks beyond P_2 affected when decryption occurs?

No it will not spread beyond P2 as C1 or any of its part is used beyond P2 as can be seen from the diagram below.(This is in decryption)

Red part indicates where error part travels.

2)

If instead there is a source error in P_1, how many ciphertext output blocks are affected?

Yes all ciphertext blocks will be affected if P1 has some error.As can be seen in the below figure. Red part displays the spread of error.(This is in encryption)


Related Solutions

Cyrptography*** Suppose you saw a ciphertext stream that you know was encrypted with DES-CBC, and you...
Cyrptography*** Suppose you saw a ciphertext stream that you know was encrypted with DES-CBC, and you observed that C3 = C6(i.e., the third and sixth output ciphertext blocks were the same).What information does this tell you about the plaintext input?
8. Suppose you saw a ciphertext stream that you know was encrypted with DES-CBC, and you...
8. Suppose you saw a ciphertext stream that you know was encrypted with DES-CBC, and you observed that C3 = C6 (i.e., the third and sixth output ciphertext blocks were the same). What information does this tell you about the plaintext input?
Write java programs to implement CBC mode of data encryption standard?
Write java programs to implement CBC mode of data encryption standard?
Describe the meet-in-the-middle attack against Triple DES (EDE mode).
Describe the meet-in-the-middle attack against Triple DES (EDE mode).
Why in Cipher Block Chaining (CBC) mode, an initialization vector is needed in addition to the...
Why in Cipher Block Chaining (CBC) mode, an initialization vector is needed in addition to the Key?
Why is the Cipher Block Chaining (CBC) mode of operation considered preferable to the Electronic Code...
Why is the Cipher Block Chaining (CBC) mode of operation considered preferable to the Electronic Code Book (ECB) mode? Is it possible to perform encryption operations in parallel on multiple blocks of plaintext in the CBC mode? How about decryption?
Why is the Cipher Block Chaining (CBC) mode of operation considered preferable to the Electronic Code...
Why is the Cipher Block Chaining (CBC) mode of operation considered preferable to the Electronic Code Book (ECB) mode? Is it possible to perform encryption operations in parallel on multiple blocks of plaintext in the CBC mode? How about decryption?
What is mean, mode, standard deviation, and error?
What is mean, mode, standard deviation, and error?
PID controllers consist of Proportional, Integral, and Derivative blocks that manipulate the error of the Process...
PID controllers consist of Proportional, Integral, and Derivative blocks that manipulate the error of the Process Variable signal depending on their own characteristics. Some controllers use these three blocks while some other controllers use the P block or the P block in conjunction with another one. In any case, the P block seems to be always present. Discuss if we can have controllers that employ only an I block or a D block alone. Describe why or why not using...
Give any two peroxidase proteins and there mode of operation
Give any two peroxidase proteins and there mode of operation
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT