The Java Planet
presents
EncryptDecrypt v1.4
===================

This document contains following information.

1) Introduction

2) How to start the program?

3) How to encrypt a file?

4) How to recover the original file?

5) Further Help

6) Other products

7) About author

 

Introduction
============
You can use this program for encrypting a file with a 
unique password. The encrypted file can be decrypted 
only by the password given by the user. Any attempt 
to decrypt the file with other password will fail. Both 
encryption and decryption can be done using the same 
program.

The program can encrypt ASCII, graphic as well as binary 
files. Though the basic algorithm used for encryption is 
not very strong, the encrypted file is pretty safe. 
However, don't use this program if you have to encrypt 
some top level secret documents.

The program is in the form of executable jar file. You 
need to have Java Runtime Environment installed on your 
machine. If you don't have it, you can install it from 
java.sun.com.

The source code of the program is available. The source 
code is fully documented, with all major steps explained. 
It's worth taking a look at the source code.





How to start the program?
=========================
Unzip the downloaded file and do following. You need to have
classpath properly set to run EncryptDecrypt.

Method 1:
Double-click on EncryptDecrypt.jar

Method 2:
Double-click on EncryptDecrypt.bat

Method 3:
Double-click on EncryptDecrypt.exe

Method 4:
On the DOS window, type 
		EncryptDecrypt
OR
		java -jar EncryptDecrypt.jar

 

How to Encrypt a file?
======================

Step I : Specify the fully qualified name of the file to 
be encrypted i.e. enter the entire path OR use the browse
button to select a file.

Step II : Enter the password. 

Step III : Choose the "Encrypt" option from the 2 
radiobuttons 

Setp IV : Check the next checkbox if you want the original 
file to be deleted after encrypting it. 

Step V : Press the GO! button. 

The encrypted file with extension .enc added to its 
original name will be created in the same folder as the 
original file. If some error in input occurs, you will be 
prompted by the program. 

 

How to recover the original file
====================================
Step I : Specify the fully qualified name of the file to 
be decrypted i.e.enter the entire path, along with the 
extension .enc  OR use the browse button to select a file.

Step II : Enter the password which was used for 
encryption. If password is wrong, error will occur. 

Step III : Choose the "Decrypt" option from the 2 
radiobuttons 

Setp IV : Check the next checkbox if you want the 
encrypted file to be deleted after decryting it. 

Step V : Press the G0! button. 

The decrypted file with extension .enc removed from its 
name will be created in the same folder as the original 
file. If some error in input occurs, you will be prompted 
by the program.

 

Still Facing Problems??
=======================
If you still have any sort of problem, you can seek my 
help by mailing me at vishalm@iitb.ac.in
 

Other Products
==============
You can download a lots of java stuff from 
http://www.geocities.com/thejavaplanet which includes 
java applications like FileSplit, Calculator, 
java games like JSnake, Need More Speed?, 
visual effects like rain, lake, explosion, tunnel and 
java applets like navigation, search, newsticker & firetext.

You can also download wallpapers, screensavers, windows 
utilities, windows games, fun programs & books from 
http://www.geocities.com/vishalmamania

 

About Author
============
The author Vishal Mamania is a postgraduate student in 
Computer Science & Engineering department of Indian 
Institute of Technology. You can contact me at vishalm@iitb.ac.in or 
http://www.geocities.com/vishalmamania or 
http://www.geocities.com/thejavaplanet. 

Keep checking for newer versions at 
http://www.geocities.com/thejavaplanet/javaapps/encdec/index.html.
You can obtain the fully documented source code for free from 
http://www.geocities.com/thejavaplanet/javaapps/encdec/source.html. 
Please feel free to distribute this software to as many 
people you want. Bug reports and suggestions are very 
welcome.
