Content deleted Content added
No edit summary |
fix some confusion regarding modulus and group order (p vs. p-1) |
||
Line 8:
==Algorithm==
Let <math>G</math> be a [[cyclic group]] of order <math>
:<math>
Line 21:
:<math>\begin{align}
g(x,
\end{cases}
\\
h(x,
\end{cases}
\end{align}</math>
Line 53:
''r'' ← ''b<sub>i</sub>'' - ''b''<sub>2''i''</sub>
'''if''' r = 0 '''return failure'''
''x'' ← ''r''<sup>−1</sup>(''a''<sub>2''i''</sub> - ''a<sub>i</sub>'') mod ''
'''return''' ''x''
'''else''' <i>// ''x<sub>i</sub>'' ≠ ''x''<sub>2''i''</sub></i>
|