This is an implementation of Eric Youngs
C language Des and TripleDes library re-written
in Java. The code is in the file Des.java, as well 
as the documentation.  

To create the html documentation type

javadoc Des.java

The file DesTest.java is the test code used 
to check the correctness of the Des and TripleDes 
implementation. To test the library type

javac Des.java
javac DesTest.java

to compile the library and test code then type

java DesTest

to run the tests (success and failures are
written to stdout).

Coding to the Des and TripleDes implementations
is made easier by the DesCrypt interface. This
abstracts the difference between Des and
TripleDes and allows the developer to write
code that takes a DesCrypt object, and to 
pass either a Des or TripleDes object to
that code.

This code is provided in the hope it will be
of use, but offers no warranties for fitness of
purpose of any kind. However, if you do find it
useful, drop me an email at

jra@cygnus.com

just to let me know.

Jeremy Allison,
jra@cygnus.com

