mardi 17 mars 2015

How to use hash of message for calculating signature in matlab?


Vote count:

0




I have implemented Elgamal Digital Signature algorithm by the help of wikipedia page. http://ift.tt/1nb0V9V


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



asked 44 secs ago







How to use hash of message for calculating signature in matlab?

Aucun commentaire:

Enregistrer un commentaire