I've been following the tutorial at:
http://cephas.net/blog/2004/04/01/pgp-encryption-using-bouncy-castle/.
Following this example, I have been able to encrypt files in PGP. The problem is, I just want a few strings that I can then pass along -- I don't need an encrypted file. The strings will be passed in a web query.
Is there a way to only encrypt Strings and not have to first write them to a file? Does the file encryption have to happen? (I'm struggling to find anything to make me believe otherwise,but that just doesn't make sense to me).
thanks