Java API to encrypt files

Posted on 2007-12-03
Last Modified: 2010-03-30
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

Question by:mkhan900
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 86

Assisted Solution

CEHJ earned 166 total points
ID: 20397361

Assisted Solution

ysnky earned 166 total points
ID: 20398091
LVL 92

Accepted Solution

objects earned 168 total points
ID: 20398947

though cryptix comes with a great set of examples

let me know if u have any questioins

Author Comment

ID: 20402644
Thanks for the help everyone
LVL 86

Expert Comment

ID: 20405649

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
Suggested Courses

737 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question