views:

309

answers:

4

Are there any bignum libraries that are good for Windows use? I looked at GMP, but unfortunately it does not look like it can be compiled on Windows...I'm going to be doing some custom RSA and hashing routines, and I need something that can handle extremely large integers.

Thanks.

+1  A: 

http://www.openssl.org/ is stable and time proven library. It also includes well separable bignum libray

Dewfy
+7  A: 

People provide pre-compiled binaries for gmp on Windows; there are also instructions for compiling it yourself. Another option would be the bignum library of OpenSSL.

Martin v. Löwis
A: 

Also have a look at MAPM, A Portable Arbitrary Precision Math Library in C. It also contains C++ wrappers.

RED SOFT ADAIR
+1  A: 

Another option is MPIR. MPIR is a fork of GMP that specifically support compilation on Windows.

casevh