Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CPA-security, CCA-security, Block cipher modes of operation [26 Marks]. Let F be a pseudorandom function and G be a pseudorandom generator with expansion factor p(n)=n+1.

image text in transcribed

CPA-security, CCA-security, Block cipher modes of operation [26 Marks]. Let F be a pseudorandom function and G be a pseudorandom generator with expansion factor p(n)=n+1. Suppose the shared key is a uniform k{0,1}n. (a) Consider an encryption scheme as follows. To encrypt m{0,1}2n, parse m as m1m2 with m1=m2, then choose uniform r{0,1}n, and send Enck(m)=r,m1Fk(r),m2Fk(r+1). Is this scheme CPA-secure? (b) Consider an encryption scheme as follows. Given as inputs a message m{0,1}n/2 and a key k{0,1}n, algorithm Enc chooses a random string r of length n/2, i.e., r{0,1}n/2 and computes c:=Fk(rm). Show how to decrypt. Is this scheme CPA-secure? Is this scheme CCA-secure? Explain your answer. (c) Suppose a message m1,m2,,ml is encrypted to give a ciphertext c0,c1,c2,,cl, in the CBC (CipherBlock Chaining) and CTR (Counter) modes of operation of a block cipher. Suppose that in transmission a single block of ciphertext ci is dropped for some i{0,1,,l} (for e.g., the transmitted ciphertext c0,c1,c2,,cl is received as c0,c2,,cl). Describe the effect of this error in both the CBC and CTR modes of operation. In particular, specify which message blocks are affected, and which are unchanged when a receiver decrypts the modified ciphertext

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 is the basis for Security Concerns in Cloud Computing?

Answered: 1 week ago

Question

Describe the three main Cloud Computing Environments.

Answered: 1 week ago