Question 12 Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to be a simple XOR of
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Question 12 Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to be a simple XOR of
Question 12 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 yok giving x. You are given the following 16-bit input ABCD in hexadecimal. You are provided IV as EF in hexadecimal. The key to be used (where appropriate) is BB in hexadecimal. Answer the following to compute the encrypted output using CBC. y₁ = (x₁ IV) k = [Select] Y2 = (x2 + y₁) k = [Select] Output y = [Select] Question 13 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 yok giving x. Y2=X2 (S1 k) = You are given the following 16-bit input ABCD in hexadecimal. You are provided IV as EF in hexadecimal. The key to be used (where appropriate) is BB in hexadecimal. Answer the following to compute the encrypted output using OFB. y₁ = x₁(S₁) = [Select] Output y = [Select] Question 14 Y1 = 15 pts VY2 = 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 yok giving x. [Select] You are given the following 16-bit input ABCD in hexadecimal. You are provided IV as EF in hexadecimal. The key to be used (where appropriate) is BB in hexadecimal. Answer the following to compute the encrypted output using CFB. [Select] 15 pts FF Output y = [Select] 15 pts