Question: Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to be as follows: If plaintext is LTRT and the key is

Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to be as follows: If plaintext is LTRT and the key is LKRK, where LC,RC, LT, and RT are each 4 bits, then ciphertext= LC |RC where LC=LK XOR RT; and RC=RK XOR LT; Plaintext and ciphertext are each 8 bits. Similarly, to decrypt ciphertext, we perform exactly the reverse operation where LT=RC XOR RK and RT = LC XOR LK. You are given the following 16-bit input FFFF (in Hexa). You are provided IV as: A (Hexa). The 8-bit key to be used (where appropriate) is C5 (Hexa). Compute the encrypted output as 4 hexadecimal characters for each of the following: A. (Points 10) ECB B. (Points 10) CBC
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
