Advertisement

library for public/private key encryption

Started by May 07, 2005 07:46 PM
3 comments, last by gg83 19 years, 9 months ago
Does anyone know of a good (and preferably well documented) free library for public/private key encryption? Just needs to generate keys and do the encryption/decryption given the keys. Thanks, ~SPH
AIM ME: aGaBoOgAmOnGeR
Quote:
Original post by ShmeeBegek
Just needs to generate keys and do the encryption/decryption given the keys.

Well, it's doing everything then?

I know of Crypto++.
If you are working exclusively on Windows, there is also CryptoAPI.

[edit] I have used neither, so I cannot comment on their relative merits.


jfl.

[Edited by - jflanglois on May 7, 2005 8:54:20 PM]
Advertisement

You'd think that that was everything, but most libraries that I've come across try to do much more... like manage the keys, maintain user databases, act as a sockets layer, and raise your first born child :)

Thanks though, I'll take a look at those, ~SPH

AIM ME: aGaBoOgAmOnGeR
I would also look at OpenSSH and friends. As you say, these libraries commonly do a lot more, but you can typically strip out what you don't need. Or just let it sit on the hard disk, never being paged in :-)
enum Bool { True, False, FileNotFound };
There's is also tomcrypt you could check out as well.
"Knowledge is of two kinds. We know a subject ourselves, or we know where we can find information upon it." - Samuel Johnson

This topic is closed to new replies.

Advertisement