Question: 10) Use the message and the key to answer the following questions using Sage Message = WISHINGYOUGOODLUCKINTHISCOURSEANDALLOTHERCOURSESOFYO URPROGRAM Key = 0x1708260D1AC246E [Use: A=0x00, B=0x01, C=0x02
10) Use the message and the key to answer the following questions using Sage Message = "WISHINGYOUGOODLUCKINTHISCOURSEANDALLOTHERCOURSESOFYO URPROGRAM" Key = 0x1708260D1AC246E [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) Encrypt the message with the key provided using DES algorithm. iii) Decrypt the message and compare the result with the result of Q101.) iv) Show the generated round keys. v) Prove that the final permutation is an inverse of the initial permutation. 10) Use the message and the key to answer the following questions using Sage Message = "WISHINGYOUGOODLUCKINTHISCOURSEANDALLOTHERCOURSESOFYO URPROGRAM" Key = 0x1708260D1AC246E [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) Encrypt the message with the key provided using DES algorithm. iii) Decrypt the message and compare the result with the result of Q101.) 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
Get step-by-step solutions from verified subject matter experts
