I have implemented Elgamal Digital Signature algorithm by the help of wikipedia page. http://en.wikipedia.org/wiki/ElGamal_signature_scheme
But now I am confused on how to use hash of a message for calculation?
The algo is working fine for m (message), but we have to use
H(m), for calculating s = (H(m)-xr)k^-1 (mod p-1)
m = 7
Hash(m) 512 = F05210C5B4263F0EC4C3995BDAB458D81D3953F354A9109520F159DB1E8800BCD45B97C56DCE90A1FC27AB03E0B8A9AF8673747023C406299374116D6F966981