Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Encrypt/Decrypt using gpg

Status
Not open for further replies.

tewari68

Programmer
Jan 25, 2005
87
US
Hi,
I am looking for some tutorial or examples on how to encrypt and decrypt files using gpg (public/private key).
I am writing the code in C++ on debian platform.

Thanks,
Mohit
 
This is from the Gnu site, and you should be able to call these functions.

GnuPG Made Easy
GPGME (GnuPG Made Easy) is a C language library that allows to add support for cryptography to a program. It is designed to make access to public key crypto engines like GnuPG or GpgSM easier for applications. GPGME provides a high-level crypto API for encryption, decryption, signing, signature verification and key management


Libgcrypt
Libgcrypt is GNU's basic cryptographic library.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top