Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider a simple system with 8 - bit block size. Assume the encryption ( and decryption ) to be a simple XOR of the key

Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to
be a simple XOR of the key with the input. In other words, to encrypt x with k we simply
perform xo+k giving y. Similarly, to decrypt y, we perform yo+k giving x.
You are given the following 16-bit input. 1111000011110000(or F0F0 in hexadecimal).
For CTR assume the stream of bits to be used for counter to be
110011001100110011001100110011001100(or CCCCCCCCC)
The key to be used (where appropriate) is 10100011(A3 in hexadecimal).
Answer the following to calculate the encrypted output with CTR.(use IV=0101 for CTR).
Express the output as 4 hexadecimal characters so it is easy to read.
Encrypting x1 :
X1: C1 Key XOR (IV|CTR1)) XOR X1=?
Encrypting X2:
X2: C2 Key XOR (IV|CTR2)) XOR X2=?
C1(in hexadecimal)=?
C2(in hexadecimal)=?
Output (in hexadecimal) is ?
image text in transcribed

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

Database Concepts

Authors: David M Kroenke, David J Auer

6th Edition

0132742926, 978-0132742924

More Books

Students also viewed these Databases questions

Question

Exude confidence, not arrogance.

Answered: 1 week ago