views:

800

answers:

4

Duplicate of this one.

I'm about to embark on journey that may change my career by doing a rather big project this time.

I have experience in cryptography as I have taken several courses and written my own implementation of some algorithms (DES,AES,Schnorr) but I have never used any complete library for it.

I want to know what library for c++ is the best one to use if one wants to use RSA in ones project ?

That is I want to use a complete library for RSA so that I dont need to implement one myself.

This also needs to be a cross-platform.

+5  A: 

Crypto++ has a very wide range of supported encryption techniques.
It is cross-platform and features RSA, I'd say it's definitely worth a look!

Daniel
A: 

If it's for Windows, you could use the CryptoAPI.

João Augusto
+2  A: 

You might look at the open source openssl library. It's a fairly complete crypto library capable of much more than just ssl (including, but not limited to, rsa).

Brian Mitchell
+2  A: 

OpenSSL http://www.openssl.org/
Crypto++ http://www.cryptopp.com/

boost::asio could work with ssl stream

bb