Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 447 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 447 Bytes

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/