Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

short answer only please (1 point) This question concems block cipher modes. We wil use a simple affine opher, which can be expressed in C

short answer only please
image text in transcribed
(1 point) This question concems block cipher modes. We wil use a simple affine opher, which can be expressed in C as follaws. char cipheriunsigned char biock, char key? ( roturn (koy+11"block)ss256: The inverse of this cipher is shown below. char invecipheriunsigned char block char key? (W) 163 is the inverse of 11 mod 266 return (163'(block-key+256))\%256, I Note that the block size is B bits, which is one byle (and one ASCil character). We will work with the freed key 0x00. We now dectypt various cipheriexts using modes lor thit cipher. In every case in which the mode requires an IV, the IV wil be oxdA in the case of Crf mode, ne use a (honce II counter) artangement in which the nonce is the lef 5 bits of OxAA and the courter is a 3 bt counter that begins at 0 . In all of the problems given below, one character is one block. Each chanacter of the plaineed should be regarded as its corresponding ASCil code. The ophertext is given in hexadecimal a) Deerybt the ephertest "27243905" using CTR mode Please enter your answet in ASCll characlers (aka worde) b) Decrypt the cipheitext "495 FEES F33AC" using EC.B mode. Phease entec your answer in ASCll characiero (aka words) d) Decrypt the eiphertext "221F2E767 FOE using CFB mode. Pleaso enter your ankwer in Ascil characters (aka words). d) Decrypt the ciphertext "92 275686638C using CBC mode. Please enter your answer in ASC characters (aka words) es Decont the eobertext "2ADB0125432\% using OFR modo Please enter your answer in Ascil characters (aka worda) (1 point) This question concems block cipher modes. We wil use a simple affine opher, which can be expressed in C as follaws. char cipheriunsigned char biock, char key? ( roturn (koy+11"block)ss256: The inverse of this cipher is shown below. char invecipheriunsigned char block char key? (W) 163 is the inverse of 11 mod 266 return (163'(block-key+256))\%256, I Note that the block size is B bits, which is one byle (and one ASCil character). We will work with the freed key 0x00. We now dectypt various cipheriexts using modes lor thit cipher. In every case in which the mode requires an IV, the IV wil be oxdA in the case of Crf mode, ne use a (honce II counter) artangement in which the nonce is the lef 5 bits of OxAA and the courter is a 3 bt counter that begins at 0 . In all of the problems given below, one character is one block. Each chanacter of the plaineed should be regarded as its corresponding ASCil code. The ophertext is given in hexadecimal a) Deerybt the ephertest "27243905" using CTR mode Please enter your answet in ASCll characlers (aka worde) b) Decrypt the cipheitext "495 FEES F33AC" using EC.B mode. Phease entec your answer in ASCll characiero (aka words) d) Decrypt the eiphertext "221F2E767 FOE using CFB mode. Pleaso enter your ankwer in Ascil characters (aka words). d) Decrypt the ciphertext "92 275686638C using CBC mode. Please enter your answer in ASC characters (aka words) es Decont the eobertext "2ADB0125432\% using OFR modo Please enter your answer in Ascil characters (aka worda)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial Databases 2nd Symposium Ssd 91 Zurich Switzerland August 1991 Proceedings Lncs 525

Authors: Oliver Gunther ,Hans-Jorg Schek

1st Edition

3540544143, 978-3540544142

More Books

Students also viewed these Databases questions