Skip to content

Commit

Permalink
docs: Fix typo: Remove extra "a" before "Alice" (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdqst authored Jan 21, 2025
1 parent 50168f3 commit 692e95e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/zkdocs/commitments/pedersen.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Once $c\_{1}$ has been generated, Alice can easily generate $c\_{2}$, provide bo

### Generator Selection

Suppose that a Alice knows $l=\log\_{g}\left(h\right)$ and has a commitment $c=C\left(s,t\right)=g^{s}h^{t}$.
Suppose that Alice knows $l=\log\_{g}\left(h\right)$ and has a commitment $c=C\left(s,t\right)=g^{s}h^{t}$.

Then Alice can rewrite the commitment as $c=g^{s}h^{t}$ as $c=g^{s}\left(g^{l}\right)^{t}=g^{s}g^{tl}=g^{s+tl}$. Let $s'=s+l$ and $t'=t-1$. She can the fraudulently "open" the commitment $c$ by sending $\left(s',t'\right)$. This will appear as a valid opening to Bob, since:

Expand Down

0 comments on commit 692e95e

Please sign in to comment.