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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!