/OpenPgp-BounceCastle-Example

This is an OpenPgp + BounceCastle, Java Example, for education.

Primary LanguageJava

OpenPgp-BounceCastle-Example

This is an OpenPgp + BounceCastle, Java Example, for education. Check the 3 test methods inside the class org.jdamico.bc.openpgp.tests.TestBCOpenPGP:

  • genKeyPair()
  • encrypt()
  • decrypt()

This source code was based on the examples found inside BounceCastle API and in the demonstration found here: http://sloanseaman.com/wordpress/2011/08/11/pgp-encryptiondecryption-in-java/