Question: Suppose F _ ( k ) is a PRF and it outputs n bits. We define a symmetric key encryption algorithm as follows: The plaintext

Suppose F_(k )is a PRF and it outputs n bits. We define a symmetric key encryption algorithm as follows:
The plaintext m is with length 2n, when encrypting m, the algorithm chooses a random r, computes F_(k )(r) and obtains y.
The algorithm then computes (y||y)m (where stands for the XOR operation), i.e., using y to mask both the first half and second half of the message.
Is such encryption algorithm IND-CPA secure? Briefly explain.

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 Databases Questions!