PGP Encryption using Bouncy Castle | Aaron Johnson
It can't be that hard. So given a couple hours of hacking with the library, here's a fully illustrated example that shows how to encrypt a file using the Bouncy Castle Cryptography API and PGP. First, giving credit where credit is due, the example comes mostly from the KeyBasedFileProcessor example that ships with the Bouncy Castle PGP libraries. You can find it in the /src/org/bouncycastle/openpgp/examples directory if you download the source. I've simply unpacked the example a little, providing some pretty pictures and explanation of what the various pieces are.
Read full article from PGP Encryption using Bouncy Castle | Aaron Johnson
No comments:
Post a Comment