[OTR-dev] DSA Signing
alex323
alex323 at gmail.com
Fri Jan 21 18:30:44 EST 2005
The create signature method seems to output a byte array
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfsystemsecuritycryptographydsacryptoserviceproviderclasscreatesignaturetopic.asp)
The only problem is that the protocol calls for:
"
DSA signature (DSASIG):
(len is the length of the DSA public parameter q)
len byte unsigned r, big-endian
len byte unsigned s, big-endian
"
The output length of the byte array is 40 bytes. I've always known Q to
be 20 bytes. Is it possible that the first half of the byte array is r,
while the other half is s?
- Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 825 bytes
Desc: OpenPGP digital signature
URL: <http://lists.cypherpunks.ca/pipermail/otr-dev/attachments/20050121/c86db306/attachment.pgp>
More information about the OTR-dev
mailing list