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 as follows: If plaintext is LT||RT and the key is

Consider a simple system with 8-bit block size. Assume the encryption (and decryption) to be as follows: If plaintext is LT||RT and the key is LK||RK, where LC, RC, LT, and RT are each 4 bits, then ciphertext= LC||RC where LC=LK XOR RT; and RC = RK XOR LT; Plaintext and ciphertext are each 8 bits. Similarly, to decrypt ciphertext, we perform exactly the reverse operation where LT=RC XOR RK and RT = LC XOR LK. You are given the following 16-bit input B5D7 (in Hexa). You are provided IV as: E8 (hexa).

For CTR assume the stream of bits to be used for counter to be starting from 0001 and incremented by 1 every time; so the stream would be 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111

The 8-bit key to be used (where appropriate) is 3C (hexa).

Compute the encrypted output with (i) ECB (ii) CBC (iii) OFB (iv) CFB (v) CTR (with IV=0011) Express the output as 4 hexa characters so it is easy to read.

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

Spatial Database Systems Design Implementation And Project Management

Authors: Albert K.W. Yeung, G. Brent Hall

1st Edition

1402053932, 978-1402053931

More Books

Students also viewed these Databases questions

Question

=+How many children do you have?

Answered: 1 week ago

Question

1. What is meant by Latitudes? 2. What is cartography ?

Answered: 1 week ago

Question

What is order of reaction? Explain with example?

Answered: 1 week ago