Question: Can you do a code in Python please Expand a DES cipher to support ECB and CBC modes of operation. The input of your program
Can you do a code in Python please
Expand a DES cipher to support ECB and CBC modes of operation. The input of your program must be a string. The output must be two hexadecimal strings.
Input: World! (note: the trailing exclamation mark is part of the input)
Key: 421 (note: numerical value in base-10)
IV (if needed): 124 (note: numerical value in base-10)
Output:
ECB: 0x9f279835b7b4 (maybe) CBC: 0x4f3c5e86f7bd (maybe)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
