Java API to encrypt files

I am required to encrypt some files (text files) using a third party PGP key.

I am new to java and tried finding some code which could make some sense to me, but I wasn't successful.

I would appreciate any help on finding some example codes to achive this, using Java API or Bouncy Castle or anything.
I have tried looking at cryptix and bouncy castle, the example code wasn't of too much help to me

Who is Participating?
objectsConnect With a Mentor Commented:

though cryptix comes with a great set of examples

let me know if u have any questioins
mkhan900Author Commented:
Thanks for the help everyone
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.