Skip to content

Commit

Permalink
docs: typo fix Update _index.md (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
famouswizard authored Dec 26, 2024
1 parent b8f3536 commit fd030b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/zkdocs/commitments/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Lots of cryptographic protocols rely on this sort of exchange. For instance, thi

To see an example of how this might be done using cryptography, consider the following process. Bob randomly selects $\sampleGeneric{call}{\{\coinheads,\cointails\}}$ as his call. Then he selects a 256-bit random value $r$ and computes, $c=\hmac{r}{call}$, then sends $c$ to Alice. Alice flips her coin, and announces either $\coinheads$ or $\cointails$. Bob then sends Alice $\left(r,call\right)$. Alice verifies that $c=\hmac{r}{call}$. If the two match, she accepts Bob's call as valid; otherwise, she rejects Bob's call as invalid.

We call $c$ Bobs's _commitment_ to his call, and we call $\left(r,call\right)$ the _opening_ of $c$.
We call $c$ Bob's _commitment_ to his call, and we call $\left(r,call\right)$ the _opening_ of $c$.

In protocol terms, we have:

Expand Down

0 comments on commit fd030b1

Please sign in to comment.