Coin flipping
A two-party coin-flipping protocol lets two parties generate a common bit such that a party deviating from the protocol cannot bias the honest party’s output, beyond a stated bound, away from uniform — Blu81.
Syntax
A coin-flipping protocol is a pair of efficient interactive algorithms that run on input for rounds, after which each outputs a bit or :
- .
Properties
Correctness
A protocol is correct if, when both parties follow the protocol, except with negligible probability and the common bit is within negligible statistical distance of uniform. It is perfectly correct if always and the common bit is uniform.
Security
In the game below the adversary corrupts and tries to make the honest output a bit of its choice; the game with the roles exchanged is analogous.
\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{coin}}_{\calA}(\secpar)$}
\begin{algorithmic}
\State $(b^*, \stA) \gets \calA(1^\secpar)$
\State $c_B \gets$ the output of $B$ in $\langle \calA(\stA), B(1^\secpar) \rangle$
\Comment{An output $c_B = \bot$ loses the game}
\Return $[c_B = b^*]$
\end{algorithmic}
\end{algorithm}
A protocol is secure with abort if for all efficient , corrupting either party,
It is -fair, or has bias at most , if the honest party outputs a bit even when the other party aborts and for all efficient and all sufficiently large .
Every protocol on this page, including each variation, is correct as defined under Correctness; constant-bias protocols are moreover perfectly correct, which the constant-bias ⇒ OWF theorem needs — BHT14 (arXiv 2105.01400v1, Remark 2.11). Without correctness, the protocol in which each party outputs its own uniform coin has bias . As an object, coin flipping denotes a correct protocol that is secure with abort.
Variations
Fair coin flipping
Fair coin flipping asks for negligible bias without abort. It is impossible: in every -round protocol an efficient fail-stop adversary, which only aborts early, biases the honest party’s output by — Cle86.
Optimally fair coin flipping
Optimally fair coin flipping is a family of correct protocols, one for each polynomial , and a constant , such that for every polynomial , runs in rounds, the honest party outputs a bit even when the other party aborts, and
for all efficient corrupting either party of . The bias matches Cleve’s bound — MNS09. The member with rounds has bias at most , so it has constant bias when it is perfectly correct — standard.
No fully-black-box construction from a one-way function is optimally fair with rounds, for the input length of the one-way function — DLMM11. The round restriction is removed for function-oblivious constructions, whose honest output, for fixed random tapes, does not depend on which one-way function is used — DMM14.
Coin flipping with constant bias
A perfectly correct protocol has constant bias if its bias is at most a constant ; bias is trivial, since one party can choose the outcome — HO11.
Participates in
Builds on Coin flipping
Produces Coin flipping
- COM ⇒ Coin flipping (Blum)
- OT ⇒ Optimally fair coin flipping (Moran–Naor–Segev) (via Optimally fair coin flipping)
Barriers