I was told that a solution to the new home assignement
(to be submitted on 28/12) can be found in my book.
That's more/less true. Since there is no point in copying text from
the book,
I wish to ask that you focus on presenting solutions that build on
the "standard" PRF (i.e., $f_s$ mapping $|s|$-bit string to $|s|$-bit
strings).
Please:
i) Present a solution to the original item (1) by using only a
standard PRF
(while noting that you can also get a PRG from that PRF...),
and prove its "security" (i.e., its pseudorandom feature).
ii) Same for the following variant on (2):
(2') collections $f_s$ that map strings of length SMALLER than $|s|
$
to a single bit.
That is, I make your life easier by asking to map ONLY strings of
length smaller than $|s|$,
rather than strings of arbitrary length.
BONUS/OPTIONAL: Do the original (2), but under the restriction above
(i.e., modify a given standard PRF rather than copy the book's
solution).
Recall: PRF === pseudorandom function,
PRG === pseudorandom generator.