On May 8, 2009, at 5:30 PM, Coffman, Beth C wrote:

What is a good way to write a C++ app to decrypt multiple large PGP- encrypted files simultaneously into memory? I cannot have the plaintext output in a file on disk at any time. Preferably, one block of data from the file will be decrypted at a time. Therefore, the entire file or files will not need to reside in memory.

GPG (the program) can decrypt as a stream. You can either write a program that wraps around it, or use the GPGME library to do the work for you.

David


_______________________________________________
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to