[bigint] Bug: stringToBigUnsigned(std::string s)
Matt McCutchen <matt at mattmccutchen.net>
Fri Jan 21 08:20:58 PST 2011
On Fri, 2011-01-21 at 10:21 -0500, Justin Seely wrote:
> So I'm in the midst of creating an RSA library using your BigInteger
> library and I ran into a bug in the stringToBigUnsigned function. What
> seems to be happening is if the string is 10 or more characters long
> the conversion gives an incorrect conversion. Anyway I'm planning on
> looking into it myself over the next couple days and I'll let you know
> if I find a fix to it.
Sure. Or if you send me a code snippet to reproduce the problem and
tell me whether you are using a 32-bit or 64-bit machine, I will take a
look.
--
Matt
More information about the bigint
mailing list