2024 CS783 Quiz1
2024 CS783 Quiz1
Quiz 1
August 23, 2024
Full marks: 20, Time: 1 hour
Instructor: Chethan Kamath
1. Please enter your roll number and name in the answer booklet too.
2. There are five problems. Answer problems 1 and 2 in the same sheet of the answer
booklet and use separate sheets for problems 3-5.
3. Problems 1 and 2 are all or nothing: you get the 3 marks only if your answer is the
exact subset. If you think the correct answers are 1 and 3, just write “1, 3”
4. G′ (s) := G(s)∥1|s|
Problem 3 (4 marks). For a PRG G, consider the one-way function (OWF) f (x) :=
G(x). Formally prove that if G is a PRG then f is a OWF. First describe your reduction,
and then analyse why the reduction works.
Problem 4 (2+3=5 marks). For a OWF f , consider f ′ (x1 ∥x2 ) := x1 ∥f (x1 ∥x2 ), where
|x1 | − |x2 | = 1. Design an f such that
1. Let f1 and f2 be two functions such that only one of the two is one-way and we
don’t know which one. Using f1 and f2 , design a OWF f . Briefly argue why f
is one-way. (Hint: while designing, keep in mind that given an inverter for f , it
should be possible to construct inverters for both f1 and f2 .)
2. Let Π1 = (Gen1 , Enc1 , Dec1 ) and Π2 = (Gen2 , Enc2 , Dec2 ) be two SKE schemes such
that only one of the two is secret against eavesdroppers, and we don’t know which
one. Using Π1 and Π2 , design a SKE Π that is secret against eavesdroppers, and
briefly argue why. (Hint: use the hint for the first part, and also recall that the
eavesdropper has flexibility to choose the challenge messages m0 and m1 .)