
This is the program to compute the digest of a message using algorithm
MD5 and SHA1. 
1.
The message digest is computed for the message
"Kanwal Rekhi School of Information Technology, IIT Bombay" 
and its stored in the folder mdigest.log
to compute it the commands are
java Digest mdigest.log/Message.txt MD5 4096
java Digest mdigest.log/Message.txt SHA-1 4096

The general syntax is
java Digest <filename> <AlgoName> <MaxMessageSize>


2.
To analyze the message digest as a function of message sizes, a new file
FileMessage.txt is taken in the stat folder. This is because we need to 
analyse messages 0 to 4KB. There is a shell script testDigest.sh and
the way to use it is
testDigest.sh <filename> <algoname> <MaxMsgSize> <setup|msgsize>

if the last parameter is given as setup then all the previous statistics
are deleted and the system is initialized. Then we can give the last parameter
as msgsize which calls the java program for various msg sizes starting from
1 to 4096 bytes. The output is generated in the log folder in a file called
'FileOutDiffMsgLenTmp'.

This is a plain text file. In this the data is written in a tabular form for
analysis. 


3.
In the stat folder there are certain folders called set1, set2, .. which are
nothing but output of various excutions of the program. In the stat/set1 folder
there is a file called summary.doc which contains the graphical representaion
of the data. This same file is in the main digest folder.

4.
The file template is a file used to generate output.


