|
Project Description
In this project, we implemented the single DES with ECB mode
as a Java applet. We chose this approach since Java Applet is
very portable and platform independent. Thus, the project can be
easily accessible from any computer on the web.
The algorithm is based on the text book for this class,
Introduction to Cryptography with Coding Theory, 1/e",
page 107-115. The conventions and variable names are also
matched to the one in the book.
This program demonstrates the algorithm at work. Here is
how it works:
First: user enter 8 ascii characters of plaintext and 14 hex
values of key and press start.
E.g. Plaintext=myText12, Key=123456789abcDE
Second: the program perform an encryption and obtain
the cyphertext. The cyphertext is represented in bits
since a conversion back to character may produce
unviewable character.
Third: the ciphertext is then decrypted again to the
original plaintext.
Note: For each steps, the program shows the values of main
variables used as presented in the text book. This follows
the DES algorithm flow picture in the page 109.
|