Question: Verify your answer to question 7 using Sage and show your code. 9 ) Use the message and the key to answer the following questions

Verify your answer to question 7 using Sage and show your code. 9) Use the message and the key to answer the following questions using Sage Message =WISHINGYOUGOODLUCKINTHISCOURSEANDALLOTHERCOURSESOFYOURP ROGRAMMEZ Key =0x1F08130D1AC246E [Use: A=0x00, B=0x01, C=0x02....... Z=0x19] i) Write a Sage function to convert the message to blocks in hex (hex blocks)[Hint: if message =ABZ, the hex equivalent =0x000119] ii) Encrypt the message with the key provided using the DES algorithm. iii) Decrypt the message and compare the result with the result of i) iv) Show the generated round keys. v) Prove that the final permutation is an inverse of the initial permutation.

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 Programming Questions!