DLOG ⇒ Statistically hiding commitment
Statement
For with of prime order and , the Pedersen commitment to is for , opened by revealing . It is perfectly hiding, and computationally binding if DLOG is hard for , since two openings of one give — Ped91.
Sketch
Hiding: generates , so is uniform over and is uniform, independent of . Binding: on DLOG challenge the reduction outputs if , and otherwise sets , runs the binding adversary and turns its two openings into .
\begin{algorithm}
\algname{Algorithm}
\caption{$\Gen(1^\secpar)$}
\begin{algorithmic}
\State $(\GG, g, p) \gets \GrGen(1^\secpar)$; $h \getsr \GG \setminus \{1\}$
\Return $\pp \gets (\GG, g, p, h)$
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Algorithm}
\caption{$\Com(\pp, m; r)$}
\begin{algorithmic}
\Return $(c, d) \gets (g^m h^r, (m, r))$
\Comment{$m, r \in \ZZ_p$}
\end{algorithmic}
\end{algorithm}
\begin{algorithm}
\algname{Algorithm}
\caption{$\Open(\pp, c, (m, r))$}
\begin{algorithmic}
\If{$c = g^m h^r$}
\Return $m$
\EndIf
\Return $\bot$
\end{algorithmic}
\end{algorithm}