This commit is contained in:
parent
e21c23b10f
commit
9a895e0c42
@ -181,13 +181,12 @@
|
|||||||
\section*{6}
|
\section*{6}
|
||||||
\subsection*{6.1}
|
\subsection*{6.1}
|
||||||
\subsubsection*{6.1.1}
|
\subsubsection*{6.1.1}
|
||||||
Bob can
|
Bob can check if the equation holds then Bob knows that Alice signed the Contract
|
||||||
$$h = H(g^s\times y^c mod p || C)$$
|
$$h = H(g^s\times y^c mod p || C)$$
|
||||||
where y is Alice's pub key.
|
where y is Alice's pub key.
|
||||||
|
|
||||||
If the equasion holds then Bob knows that Alice signed the Contract
|
|
||||||
\subsubsection*{6.1.2}
|
\subsubsection*{6.1.2}
|
||||||
If the Alice used the the same r then this equasion would only have 2 variables to solve, $a$ and $r$ which makes this equasion possible to solve.
|
If the Alice used the the same r then this equation would only have 2 variables to solve, $a$ and $r$ which makes this equation possible to solve.
|
||||||
$$\begin{cases}
|
$$\begin{cases}
|
||||||
s = r - h \times a mod q\\
|
s = r - h \times a mod q\\
|
||||||
s' = r - h' \times a mod q
|
s' = r - h' \times a mod q
|
||||||
|
Reference in New Issue
Block a user