Question: CPA - security, CCA - security [ 1 9 Marks ] . ( a ) ( 9 marks ) Let F : { 0 ,

CPA-security, CCA-security [19 Marks].
(a)(9 marks) Let F:{0,1}n{0,1}n{0,1}n be a length-preserving pseudorandom permutation. Suppose
the shared key is a uniform kin{0,1}n. Consider an encryption scheme as follows. To encrypt min
{0,1}2n, parse m as m1||m2 with |m1|=|m2|, then choose uniform rin{0,1}n, and send c=Enck(m):=
(:r,m1o+Fk(r),m2o+Fk(r+1):). Is this scheme CPA-secure? Explain your answer.
(b)(10 marks) Let F:{0,1}n{0,1}n{0,1}n be a length-preserving pseudorandom permutation. Sup-
pose the shared key is a uniform kin{0,1}n. Consider an encryption scheme as follows. Given as inputs
a message min{0,1}n2 and a key kin{0,1}n, algorithm Enc chooses a random string r of length n2,
i.e., rlarr{0,1}n2 and computes c:=Fk(r||m). Show how to decrypt. Is this scheme CPA-secure? Is this
scheme CCA-secure? Explain your answer.
CPA - security, CCA - security [ 1 9 Marks ] . (

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!