hal(_at_)finney(_dot_)org ("Hal Finney") writes:
I have to say that I think there are better choices for math libraries these
days than that old code. gmp, crypto++ and openssl are three that I have
used and are good quality. I've also heard good things about libtommath.
You can find more about any of these via google.
Some thoughts:
gmp,
Needs GNU-everything-else in order to build, a problem if you're targetting
multiple platforms and need to use non-GNU tools (e.g. VC++).
crypto++
Extreme C++, both in the code style and the requirements it places on
compilers.
openssl
The code is the crypto equivalent of Heathrow Airport.
libtommath
Very nice, although it suffers the no-visible-means-of-support problem that
killed the earlier (and equally nice) bnlib: What happens if the author gets
tired of maintaining it?
Peter.