From 692e95ee48ba20d0ed8ace36df37013623c84c3c Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Tue, 21 Jan 2025 18:35:24 +0300 Subject: [PATCH] docs: Fix typo: Remove extra "a" before "Alice" (#43) --- content/docs/zkdocs/commitments/pedersen.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/zkdocs/commitments/pedersen.md b/content/docs/zkdocs/commitments/pedersen.md index 348dff5..63e8cd1 100644 --- a/content/docs/zkdocs/commitments/pedersen.md +++ b/content/docs/zkdocs/commitments/pedersen.md @@ -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: