I am studying for a test and I don't seem to understand the Block Cipher and its different modes of operations especially when it comes to encrypting and decryption. Could anyone please help solve these questions?
Block Cipher Mode of Operations. Please refer to the image attached for a diagram of PCBC, a similar mode of operation to CBC.
Input
000
001
010
011
100
101
110
111
Output 111 110 101 100 011 001 000 010
a. Decrypt Ciphertext 001001001001 without using any mode. Your answer:
b. Decrypt Ciphertext 001001001001 using CFB and IV=000. Your answer:
for (a) I am getting 110 110 110 110 and for (b) I am getting 110 001 110 001
But I am not sure if that is correct. My confusion is do I decrypt the ciphertext with the key, XOR it with the IV giving me the Plaintext(PT1)- and then for the next step; I XOR the Plaintext(PT1) with the first ciphertext which will then be used as the input to be XORed with the decrypted ciphertext2? You then basically repeat the process?