Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Suppose there is a symmetric encryption scheme, CS, that on input an 8-bit message, P, and a key, K, procedures a ciphertext, C.K is a

image text in transcribedimage text in transcribed

Suppose there is a symmetric encryption scheme, CS, that on input an 8-bit message, P, and a key, K, procedures a ciphertext, C.K is a positive integer. CS performs a right circular shift on P based on K. For example, if P is 01011011 and K is 3,C is 01101011. You are given a string, S, which is having a value of "POLYU". Perform the following tasks: a) Write down the binary form of S, based on 8-bit ASCII code representation. [4 marks] b) Encrypt S using CS. The mode of operation is ECB. K is 4 . Represent C in binary representation. [6 marks] c) Encrypt S using CS. The mode of operation is CBC. K is the last numeric digit of your student ID. Represent C in binary representation. The initialization vector is ' X '. [10 marks]

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

Students also viewed these Databases questions

Question

Show the properties and structure of allotropes of carbon.

Answered: 1 week ago