			How to use JCE1.1
			   May 2, 1997

To compile and run the two demo programs encrypt.java and
decrypt.java, you need to have JCE1.1 on your CLASSPATH. 
If you installed JCE, you should have these 3 files in the demo directory
	encrypt.java
	decrypt.java
	clear.txt

First, compile the programs: 

	% javac encrypt.java
	% javac decrypt.java

Then, run the programs: 

	% java encrypt

This will encrypt the file named "clear.txt" and write out hte
contents to a file named "secret.txt".  The DES key used to perform
the encryption will be stored in the file named "keyfile."

Finally, run the program

	% java decrypt

This will decrypt the file named "secret.txt" and write out the
contents to a file named "unsecret.txt."  It will use the DES key
stored in "keyfile" to decrypt.

These programs are for demo purposes only and should not be construed
as the "right" way to do encryption and decryption.  In particular,
keys should never be stored in the clear where they can be modified or
stolen.


