Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following describes a toy block cipher. The block size is 8 bits and the key size is 16 bits. A round will consist of

The following describes a toy block cipher. The block size is 8 bits and the key size is 16 bits. A round will consist of the following.

The input is XORed with the first 8 bits of the round subkey

The input, considered as an element of GF(28) with irreducible P(x) = x8+x4+x3+x+1 , is squared.

The left 4 bits of the block are swapped with the right 4 bits of the block. For example 0x4A becomes 0xA4.

There are two rounds. The key schedule is the following:

During the first round, the subkey is the first 8 bits of the key.

During the second round, the subkey is the second 8 bits of the key.

1. Use the above cipher with key k = 0x1111 to encrypt the block B = 0x88.

2. Use this block cipher to encrypt the plaintext x = 0x4A01 in OFB mode with IV = 0x22 and key K= 0x4444. Please show all intermediate steps.

Please answer the two questions above, I need steps not code!

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

Beginning Microsoft SQL Server 2012 Programming

Authors: Paul Atkinson, Robert Vieira

1st Edition

1118102282, 9781118102282

More Books

Students also viewed these Databases questions

Question

What do Dimensions represent in OLAP Cubes?

Answered: 1 week ago