PRF ⇒ iPRF
Statement
Any PRF (indeed any one-way function) yields an invertible PRF for arbitrary domain and range sizes, including small ones, with -time evaluation and inversion time linear in the size of the returned preimage set — HPPY25.
Sketch
The iPRF is , where is a small-domain PRP on the domain, built from the PRF, and is a pseudorandom multinomial sampler: a binary tree over the range in which each node splits its contiguous block of inputs between the two halves of its range by a binomial sample, with success probability the left half’s share of the range and PRF-derived coins. With a uniform permutation and run on true coins, is a uniform function, since a uniform permutation followed by a map sending contiguous blocks of multinomially distributed sizes to the range points gives each input an independent uniform output; walks the tree to the block and applies to each of its elements — HPPY25.
Notes
- A PRP alone is an iPRF for the forward-oracle game only over a domain of superpolynomial size, where the Switching Lemma applies (PRP ⇒ iPRF) — folklore.