Verifiable random function

A verifiable random function is a keyed function whose secret-key holder outputs, for each input, the function value together with a proof that the value is correct with respect to a published public key, while values at unqueried inputs remain pseudorandom to anyone holding only the public key.

Syntax

A VRF is a triple of efficient algorithms with respect to input space and output space . Here is polynomial-time computable with and , so is superpolynomial. is a set of strings of length with and an efficient uniform sampler.

  • , a randomized algorithm that outputs a public key and a secret key ,
  • , a deterministic algorithm that takes and an input and outputs the value and a proof ,
  • , a deterministic algorithm that outputs a bit .

With , the scheme with for the empty string and meets every notion below. With polynomial, a public key of perfectly binding commitments under a one-way permutation to a table of uniform values, one per input, with openings as proofs, is a VRF — standard.

Properties

Provability

satisfies provability if for all , all in the support of and all , implies — MRV99.

Unique provability

satisfies unique provability if for every string , every and all with ,

— MRV99. A dishonest key holder therefore cannot prove two values at one input. MRV99 allow a probabilistic , with provability and unique provability holding up to error ; here is deterministic and both conditions are perfect.

Pseudorandomness

The adversary obtains values and proofs at inputs of its choice, then distinguishes the value at a challenge input from a uniform element of .

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{vrf}}_{\mathsf{VRF},\calA}(\secpar)$}
\begin{algorithmic}
\State $(\pk, \sk) \gets \KeyGen(1^\secpar)$; $b \getsr \bits$
\State $\calO(x) := \Eval(\sk, x)$
\State $(x^*, \stA) \gets \calA^{\calO}(1^\secpar, \pk)$
\Comment{$\calA$ may not have queried $\calO(x^*)$}
\State $(y_0, \pi^*) \gets \Eval(\sk, x^*)$; $y_1 \getsr \calY$
\State $b' \gets \calA^{\calO}(y_b, \stA)$
\Comment{$\calA$ may not query $\calO(x^*)$}
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}

is pseudorandom if for all efficient admissible ,

is negligible — MRV99. is admissible if it never queries on ; the constraint is necessary because returns , and comparing with wins with advantage .

As an object, a VRF denotes a scheme with provability, unique provability and pseudorandomness.

Variations

Key-dependent output spaces

A VRF whose output space is determined by the public key, as when samples the parameters of a group and publishes them in : for every in the support of , is a set of strings of length with , and an efficient algorithm given samples uniformly from . The input space, provability and unique provability are as above with , and the pseudorandomness game draws . As an object, a VRF with key-dependent outputs denotes such a scheme with provability, unique provability and this pseudorandomness. A VRF with a fixed output space is one, with (VRF ⇒ VRF with key-dependent outputs) — folklore. The converse fails for the fixed-space game: when ranges over sets that the public key tells apart, a uniform element of their union is not distributed as an output, and membership in distinguishes them. The -Lin VRF of HJ16 has key-dependent outputs (k-Lin ⇒ VRF with key-dependent outputs).

Selective pseudorandomness

The adversary commits to before receiving : the game is except that outputs on input before runs, and its first phase then runs on with fixed. is selectively pseudorandom if for all efficient admissible the advantage in this game, defined as for , is negligible. As an object, a selectively secure VRF denotes a scheme with provability, unique provability and selective pseudorandomness. Pseudorandomness implies selective pseudorandomness (VRF ⇒ selectively secure VRF), and guessing converts back at a loss factor — standard.

Weak VRFs

A weak VRF is pseudorandom only at random inputs: the evaluation oracle takes no input and returns for a fresh , and receives a uniform fresh challenge input together with — BGRV09. A pseudorandom VRF is a weak VRF, up to an additive for oracle queries (VRF ⇒ weak VRF) — standard.

Verifiable unpredictable functions

A verifiable unpredictable function (VUF) satisfies provability and unique provability, with pseudorandomness replaced by unpredictability: for all efficient given and access to , the probability that outputs with unqueried and for some is negligible — MRV99. A signature scheme with unique signatures is a VUF with empty proofs, and a VRF whose output space has superpolynomial size is a VUF — standard. MRV99 turn VUFs into VRFs with Goldreich–Levin hardcore bits.

Other results

  • Forgetting and the proofs leaves a PRF with key , at a loss factor for distinct queries (VRF ⇒ PRF) — standard.
  • k-Lin ⇒ VRF with key-dependent outputs: in symmetric bilinear groups, the -linear assumption for gives a VRF with exponential-size input space, and unique provability and pseudorandomness as defined above — HJ16.
  • In a group with a bilinear map of prime order with generator , the VRF with , , value and proof is pseudorandom for small input spaces under a -type decisional bilinear Diffie–Hellman inversion assumption; it avoids the Goldreich–Levin step of earlier constructions — DY05.
  • Unique signatures under a generalized computational Diffie–Hellman assumption in groups where decisional Diffie–Hellman is easy, and VRFs from them — Lys02.
  • VRFs with exponential-size input space and adaptive pseudorandomness in bilinear groups under the decisional Diffie–Hellman exponent assumption, a non-interactive -type assumption, in the standard model without a common reference string; earlier VRFs with such input spaces needed an interactive assumption or one tolerating a security loss on -bit inputs — HW10.
  • No fully-black-box reduction from TDP to VRF — FS12; VRFs follow non-uniformly from sub-exponentially hard trapdoor permutations — Bit17.

Participates in

Builds on Verifiable random function

Produces Verifiable random function

Barriers