[5038] in cryptography@c2.net mail archive
DSA Signature & Hash Algorithm
daemon@ATHENA.MIT.EDU (Hans Viens)
Wed Jun 30 15:46:31 1999
Date: Wed, 30 Jun 1999 09:57:41 -0400
To: coderpunks@toad.com
From: Hans Viens <vieh01@gel.usherb.ca>
Cc: cryptography@c2.net
Hi Folks,
I'm developping the DSA Algo:
To sign:
r = (g^k mod p) mod q
s = (k^-1 (H(m) + x*r)) mod q
My question is: When calculating s, we need H(m) and I would like to know
if it must be convert to some kind of type ?
Is it possible for someone to send me a signature (r and s) that is good
using SHA1 as Hash algo, with the plaintext that has been type ? In that
case I will be sure my implementation is good.
Thanks
Best regards,
Hans...