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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
split53 challenge 7 78
Unable to start eclipse ? 17 132
Responding to Java JComponent extended classes's resize event 4 51
tomcat not starting 6 30
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
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…
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now