re: elgamal encryption question

"jrandom" <auto97841-revL73yDgGBWk0Htik3J/[email protected]> Wed, 27 Aug 2003 11:53:03 -0700
Newsgroups gmane.comp.security.invisiblenet.iip.devel
Message-ID <[email protected]>
elg = fixed.

shardy found the bug this morning:

[10:18] <shardy> oh and by the way
[10:18] <shardy> I see what the problem is :)
[10:18] <shardy> the end results ARE the same
[10:18] <shardy> the decrypted version just has a couple of leading zeroes
[10:19] <shardy> so if you strip off those leading zeroes you should
be fine

with that mod, some formatting tweaks, adding a nonzero to the real data
(so if the real data starts with zeroes it won't get stripped), and a
SHA256 for integrity checking, and we're good to go.  tests pass all
around with flying colors.

performance is looking great too: ElG encryption @ ~0.2s and decryption
@ ~1.0s

all code committed.  specs to be updated shortly

nice1 to shardy, thecrypto, and nop for hacking on this

-jrandom



Concerned about your privacy? Follow this link to get
FREE encrypted email: https://www.hushmail.com/?l=2

Free, ultra-private instant messaging with Hush Messenger
https://www.hushmail.com/services.php?subloc=messenger&l=434

Promote security and make money with the Hushmail Affiliate Program: 
https://www.hushmail.com/about.php?subloc=affiliate&l=427
_______________________________________________
iip-dev mailing list
[email protected]
http://lists.invisiblenet.net/mailman/listinfo/iip-dev