Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to be a simple XOR of the key with the input. In other words, to encrypt x with k we simply perform x⊕k giving y. Similarly, to decrypt y, we perform y⊕k giving x. You are given the following 16-bit input “F5C6” in hexadecimal. You are provided IV as “8C” in hexadecimal. The key to be used (where appropriate) is “49” in hexadecimal. Compute the encrypted output with the following methods. Express your final answer, for each of them, as 4 hexadecimal characters so it is easy to read. A. Using ECB B. Using CBC C. Using OFB D. Using CFB
***Please use the 16-bit input of F5C6 and NOT the 16-bit F0F0. I've been trying to figure this out for awhile and all explanations have used F0F0, not F5C6***
Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to be a simple XOR of the key with the input. In other words, to encrypt x with k we simply perform x⊕k giving y. Similarly, to decrypt y, we perform y⊕k giving x.
You are given the following 16-bit input “F5C6” in hexadecimal. You are provided IV as “8C” in hexadecimal. The key to be used (where appropriate) is “49” in hexadecimal. Compute the encrypted output with the following methods. Express your final answer, for each of them, as 4 hexadecimal characters so it is easy to read.
A. Using ECB
B. Using CBC
C. Using OFB
D. Using CFB
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images