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
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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

Title # Comments Views Activity
Android studio getdrawable(int) is deprecated 4 123
tomcat startup error 5 107
difference between sorce folder and folder in eclipise 3 29
jmss example java 2 24
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

820 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