Sage Tool

profileAmeychekka

 

Block Cipher 

Question:

  1. Let temp_block denote a Sage variable that contains the output of the first application of function fK (f_K in the Sage example code) while encrypting with Simplified DES.  Using subroutines from the example sage Code, write sage code to recover the input block passed to Simplifed DES Decrypt.  Meaning reverse the first steps in Simplified DES Encrypt. You may assume that you have the first round key in a variable K1.
  2. Using subroutines from the Sage example code for Simplified DES, write a function to compute Simplified DES Decrypt.

 

Topics:

  1. Traditional Block Cipher Structure
  2. The Data Encryption Standard - DES and Strengths
  3. Block Cipher Design Principles
  4. Multiple Encryption and Triple DES
  5. Electronic Codebook
  6. Cipher Modes and Format-Preserving Encryption

Chapter 7: Block Cipher Operations

 Chapter 4: Block Ciphers and the Data Encryption Standard  

Text book

 Stallings, Williams. Cryptography and Network Security. Pearson, 2017. 


Please use the following link for sage tool:

 http://sagecell.sagemath.org 


Related power point presentations are attached.


  • 4 years ago
  • 15
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    order_140081_370894.doc
  • attachment
    order_140081_370987.docx