Question
Hello, In another attempt at CBC I am trying to figure out where I have gone wrong in the following: Here is the table I
Hello, In another attempt at CBC I am trying to figure out where I have gone wrong in the following: Here is the table I created:
Plaintext binary | Plaintext hexidecimal | Ciphertext hexi | Ciphertext binary |
0000 | 0 | 5 | 0101 |
0001 | 1 | 3 | 0011 |
0010 | 2 | C | 1100 |
0011 | 3 | 1 | 0001 |
0100 | 4 | 7 | 0111 |
0101 | 5 | A | 1010 |
0110 | 6 | 8 | 1000 |
0111 | 7 | F | 1111 |
1000 | 8 | D | 1101 |
1001 | 9 | 2 | 0010 |
1010 | A(10 | 9 | 1001 |
1011 | B(11 | E | 1110 |
1100 | C(12) | 6 | 0110 |
1101 | D(13) | B | 1011 |
1110 | E(14) | 4 | 0100 |
1111 | F(15) | 0 | 0000 |
| C1 C2
1100 0110 1010
Converted
A1 A2 A3
0010 1100 0101
P1 = | XOR A1 = 1110
P2 = C1 XOR A2 = 1010
P3 = C2 XOR A3 = 1111 I must be missing or wrote something wrong in my table. I'd appreciate guidance here.
The answer as per the quiz result is: M1 M2 B: 1100 0000
05 8 D 1 3 9 2 12 C A 9 3 1. 4 7 C 6 5 A DB 6 8 E 4 7 F FO This table shows how each of fthe 16 possible 4-bit block values is encrypted by a block cipher (directly, in ECB mode). The table uses Hexadecimal notation. Using Cipher Block Chaining mode (CBC) decrypt the following message. The first block is the initial block I=1100. 1 C1. C2 1100 0101 1010 05 8 D 1 3 9 2 12 C A 9 3 1. 4 7 C 6 5 A DB 6 8 E 4 7 F FO This table shows how each of fthe 16 possible 4-bit block values is encrypted by a block cipher (directly, in ECB mode). The table uses Hexadecimal notation. Using Cipher Block Chaining mode (CBC) decrypt the following message. The first block is the initial block I=1100. 1 C1. C2 1100 0101 1010
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started