Commitment scheme

A commitment scheme is a two-phase protocol between a committer and a receiver in which the committer binds to a value during the commit phase without revealing it, and then reveals the value in the open phase. The binding property ensures that no efficient committer can open one commitment to two different values; the hiding property ensures that no efficient receiver can distinguish commitments to two values of its choice before opening.

Syntax

A commitment scheme is a tuple of efficient algorithms with respect to a message space , commitment space , and decommitment space :

  • , a randomized algorithm that outputs public parameters ;
  • , a randomized algorithm that takes a message and randomness , and outputs a commitment and a decommitment string ;
  • , a deterministic algorithm that opens a commitment using the decommitment , returning the message or on failure.

More generally, the commit phase is an interactive protocol between the committer and the receiver whose transcript is the commitment and after which holds a decommitment ; the syntax above is the case where the receiver’s only message is .

Properties

As an object, COM denotes a -correct scheme, for a negligible function , that is computationally hiding and computationally binding and whose message space contains, for every , two distinct messages of equal length that an efficient algorithm outputs on input , or on input when the message space depends on the public parameters. Without correctness, the scheme whose outputs a constant and whose rejects meets both security notions, and without two such messages so does the scheme that sends in the clear.

Correctness

A commitment scheme is -correct, for a function , if for all and ,

over and , or over an honest execution of an interactive commit phase. When , is perfectly correct.

Hiding

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{hide}}_{\mathsf{COM},\calA}(\secpar)$}
\begin{algorithmic}
\State $\pp \gets \Gen(1^\secpar)$; $b \getsr \bits$
\State $(m_0, m_1, \stA) \gets \calA(\pp)$
\Comment{$m_0, m_1 \in \calM$, $|m_0| = |m_1|$}
\State $(c, d) \gets \Com(\pp, m_b)$
\State $b' \gets \calA(\stA, c)$
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}

An admissible outputs with ; otherwise the length of may reveal . A commitment scheme is computationally hiding if for all admissible efficient ,

is negligible.

Binding

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{bind}}_{\mathsf{COM},\calA}(\secpar)$}
\begin{algorithmic}
\State $\pp \gets \Gen(1^\secpar)$
\State $(c, d_0, d_1) \gets \calA(\pp)$
\State $m_0 \gets \Open(\pp, c, d_0)$; $m_1 \gets \Open(\pp, c, d_1)$
\Return $[m_0 \ne \bot \land m_1 \ne \bot \land m_0 \ne m_1]$
\end{algorithmic}
\end{algorithm}

A commitment scheme is computationally binding if for all efficient ,

is negligible.

Variations

Statistically hiding commitments

A commitment scheme is statistically hiding if the hiding advantage is negligible even for computationally unbounded adversaries that also choose , or, for an interactive commit phase, play the receiver. As a node, a statistically hiding commitment denotes a -correct scheme, for a negligible function , with a message space as for COM, that is computationally binding and statistically hiding. It is in particular a commitment scheme (Statistically hiding COM ⇒ COM) — folklore.

Statistically binding commitments

A commitment scheme is statistically binding if the binding advantage is negligible even for computationally unbounded adversaries. As a node, a statistically binding commitment denotes a -correct scheme, for a negligible function , with a message space as for COM, that is computationally hiding and statistically binding. It is in particular a commitment scheme (Statistically binding COM ⇒ COM) — folklore.

Without an ideal functionality or a trusted dealer, no commitment scheme is simultaneously statistically hiding and statistically binding — folklore; in the OT-hybrid model Kilian’s commitment is both (ideal OT ⇒ COM) — Kil88.

Hiding for adversarial public parameters

A commitment scheme is hiding for adversarial public parameters if the hiding game’s advantage stays negligible when chooses itself; binding is still required only for . As a node, it denotes a COM, as defined above, whose hiding also holds when chooses . The receiver can then sample and send it as its first message. Naor’s commitment from a PRG has this property, since and are both pseudorandom for every (PRG ⇒ COM) — Naor91.

Trapdoor commitments

A trapdoor commitment (or equivocable commitment) is a commitment scheme with an additional trapdoor (generated alongside ) that allows equivocation: given , one can produce a commitment and a state from which, for every , one can compute a decommitment with , such that for every the resulting is indistinguishable from with and .

Vector commitments

A vector commitment with message space is a tuple of efficient algorithms :

  • , a randomized algorithm generating public parameters for vectors of length ;
  • , a randomized algorithm committing to a vector in , with commitment and auxiliary data kept by the committer;
  • , an algorithm producing an opening proof for position ;
  • , a deterministic algorithm checking that position of holds .

It is -correct, for a function , if for all , all and all ,

over and .

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{pos}}_{\mathsf{VC},\calA}(\secpar)$}
\begin{algorithmic}
\State $\pp \gets \Gen(1^\secpar, 1^n)$
\State $(c, i, m, m', \pi, \pi') \gets \calA(\pp)$
\Return $[i \in [n] \land m \ne m' \land \Vrfy(\pp, c, i, m, \pi) = 1 \land \Vrfy(\pp, c, i, m', \pi') = 1]$
\end{algorithmic}
\end{algorithm}

A vector commitment is position binding if for all efficient ,

is negligible.

A vector commitment is concise if there is one polynomial , fixed before , such that for every polynomial and all sufficiently large , every output by and every output by has length at most . CF13, who introduced vector commitments and position binding, require the size of the commitment and of each opening to be independent of (Section 3); the definition above asks only for a bound independent of , and so also admits sizes that grow with . Sizes at most , for a polynomial with non-negative coefficients fixed before , are concise with , since for all sufficiently large . Without conciseness, the scheme with , an empty and a that compares with the -th entry of is perfectly correct and position binding; for it is not concise, since exceeds for .

As a node, a vector commitment denotes a concise scheme that, for every polynomial , is -correct for a negligible function and position binding. A PCS gives one (PCS ⇒ vector commitments) — folklore.

UC commitment

The bit-commitment functionality serves one commitment from a committer to a receiver . On input from , with , it records , sends to and to the adversary, and ignores later Commit inputs. On input from , if it has recorded a bit , it sends to and to the adversary and halts — CF01. A UC commitment is a two-party protocol in which, with non-negligible probability, the receiver accepts a commitment of the honest committer and outputs a receipt, and which UC-realizes against a malicious adversary that statically corrupts either party, possibly in a hybrid model such as the common reference string model; a result against adaptive corruptions says so. In the common reference string model each session of has its own reference string, so such a protocol uses a fresh string for every commitment — CF01.

Over authenticated channels without setup, no protocol in which only the committer and the receiver take part is a UC commitment (no UC commitment from authenticated channels) — CF01. In the common reference string model trapdoor permutations over bit strings suffice (TDP over bit strings ⇒ UC commitment) — CF01.

UC multi-commitment

The multi-commitment functionality serves any number of commitments, between any pairs of parties, in one session: every input carries a commitment identifier , and treats the inputs with each as does, except that it does not halt after an opening — CF01. A UC multi-commitment is a protocol in which each commitment involves only its committer and its receiver, in which, with non-negligible probability, the receiver of an honest committer’s commitment accepts it and outputs a receipt, and which UC-realizes against a malicious adversary that statically corrupts any set of parties, possibly in a hybrid model; a result against adaptive corruptions says so. In the common reference string model all commitments of a session then share one reference string. Run for a single commitment under one fixed , a UC multi-commitment is a UC commitment (UC multi-commitment ⇒ UC commitment) — folklore. A claw-free pair of trapdoor permutations together with a CCA2-secure PKE gives one (claw-free TDP + CCA2 PKE ⇒ UC multi-commitment) — CF01.

Non-malleable commitments

A commitment scheme is non-malleable if a man-in-the-middle adversary that receives a commitment from an honest committer while committing to an honest receiver cannot commit to a value related to the honest committer’s. DDN91 introduced the notion, with a definition by comparison to a simulator that takes part in no session with the honest committer, and constructed such commitments from any one-way function (OWF ⇒ NM commitment) — DDN91.

The formulation below is tag-based and compares the adversary’s committed value for two honest values, as in LP11a. A tag-based commitment scheme is a statistically binding commitment scheme with an interactive commit phase, in which the committer and the receiver share a tag that plays the role of the committer’s identity. For a transcript of the commit phase, is the value to which can be opened, and if the receiver does not accept, if has no valid opening, or if it has valid openings to two values. The adversary plays the receiver in a left session with and the committer in a right session with , for a tag of its choice, and schedules the messages of both sessions.

\begin{algorithm}
\algname{Game}
\caption{$\Game^{\mathrm{nm}}_{\mathsf{COM},\calA}(\secpar)$}
\begin{algorithmic}
\State $b \getsr \bits$
\State $(v_0, v_1, t, \stA) \gets \calA(1^\secpar)$
\Comment{$v_0, v_1 \in \calM$, $|v_0| = |v_1|$, $t \in \bits^\secpar$}
\State Run $\langle C(t, v_b), \calA(\stA) \rangle$ and $\langle \calA(\stA), R(\tilde t) \rangle$, scheduled by $\calA$, which outputs its updated state $\stA$
\Comment{$\calA$ chooses $\tilde t \in \bits^\secpar$; $\tilde\tau$ is the right transcript}
\State $\tilde v \gets \mathsf{val}(\tilde\tau)$
\If{$\tilde t = t$}
\State $\tilde v \gets \bot$
\Comment{a right session under the left tag $t$ yields no value}
\EndIf
\State $b' \gets \calA(\stA, \tilde v)$
\Return $[b' = b]$
\end{algorithmic}
\end{algorithm}

A tag-based commitment scheme is non-malleable if for all efficient ,

is negligible. The game discards when , since otherwise wins by relaying each message between the two sessions, which commits it to . An adversary that leaves the right session unfinished receives , so a non-malleable scheme is also hiding against a malicious receiver (NM commitment ⇒ COM) — standard.

Concurrent non-malleability

In the concurrent version takes part in polynomially many left and right sessions, which it schedules, and the values it commits to in the right sessions must not depend on the values committed in the left sessions — PR05a.

Constant-round non-malleable commitments

A non-malleable commitment scheme whose commit phase has a constant number of messages. Bar02 gave the first such scheme without setup, with a non-black-box security proof — Bar02. Collision-resistant hash functions suffice (CRHF ⇒ constant-round NM commitment) — PR05, and so do one-way functions (OWF ⇒ constant-round NM commitment) — LP11a, Goy11.

Three-round non-malleable commitments

A non-malleable commitment scheme whose commit phase has three messages. GPR16 give a three-round scheme that is non-malleable against synchronizing adversaries, which answer each message of one session at once with the corresponding message of the other, and that makes black-box use of any non-interactive statistically binding commitment scheme, so that any injective one-way function suffices; their extended protocol, for general adversaries, needs a stronger assumption — GPR16. Against adversaries that schedule the two sessions arbitrarily, as in the game above, injective one-way functions suffice (Injective OWF ⇒ three-round NM commitment) — GR19.

Other results

Participates in

Builds on Commitment scheme

Produces Commitment scheme

Barriers