Microsoft Store
 

ElGamal signature scheme


 

The ElGamal Signature scheme is a digital signature scheme which is based on the

Correctness

The algorithm is correct in the sense that a signature generated with the signing algorithm will always be accepted by the verifier.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

The signature generation implies

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

: H(m) , equiv , x r + s k pmod{p-1}.

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Hence Fermat's little theorem implies

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

egin{matrix}

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

g^{H(m)} & equiv & g^{xr} g^{ks} \

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

& equiv & (g^{x})^r (g^{k})^s \

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

& equiv & (y)^r (r)^s pmod p.\

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

end{matrix}

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ ~ ~ ~ ~ ~ ~ ~