Pseudorandom Functions and Permutations

Distinguish random-function behavior from invertible block transformations and relate their collision patterns.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. A function does not have to be invertible
  2. The difference depends on how much output is observed

A function does not have to be invertible

A pseudorandom function family uses a secret key to select a deterministic function. The required game compares access to that selection with access to a uniformly random function of the same domain and range, with repeated inputs returning repeated outputs. A pseudorandom permutation instead compares with a random bijection on a fixed set. A block cipher is commonly modeled through the permutation viewpoint, with exact game access specified by the construction.

The difference depends on how much output is observed

On distinct inputs a permutation has no output collisions. For \(q\) outputs of an ideal random function on an \(n\)-bit range, a union bound gives collision probability at most \(\binom q2/2^n\). This explains a query-dependent cost when replacing one model with another in a proof. Security games make this cost part of the claim. Message authentication uses pseudorandomness to protect tags under shared keys.[1]

References

  1. Dan Boneh and Victor Shoup, A Graduate Course in Applied Cryptography ↩