=============================================================
Name               : GURULINGESH R.
Roll No            : 03329008
Assignment No      : 02
E-Mail             : guru@it.iitb.ac.in
=============================================================

========
CONTENTS
========

1). Directory Structure

2). Shell script description

3). Miscellaneous

1). Directory Structure
    ===================

The directory structure is:

03329008_as2/             /* Main Directory
   |
   |----- Diffie-Hellman.c /*  C program to compute the private key in Dieffie-Hellman algo
   |
   |
   |
   |----- MD5.java  /* JAVA pgm to calculate digest of msg using MD5
   |	
   |
   |----- SHA.java /* JAVA pgm to calculate digest of msg using SHA1
   |
   |
   |----- RSASignGen.java /* JAVA pgm to generate RSA signature of a msg
   | 
   |
   |----- DSASignGen.java /* JAVA pgm to generate DSA signature of a msg
   | 
   |
   |----- RSASignVeri.java /* JAVA pgm to verify RSA signature of msg
   | 
   |
   |----- DSASignVeri.java /* JAVA pgm to verify DSA signature of msg
   | 
   |
   |----- ExecuteAll.sh    /* Shell script which executes all the programs and
   |                       /* gives the output in the file "output"
   |
   |----- second.sxc       /* graph containing the comparisions
   |
   |
   |----- README           /* Help File (This file itself )




2). Shell script description: 
    =========================

 --> It executes all the programs in different possible combinations i.e. with
     different parameters such as with diff file size and different key size 
     and gives the result in th efile "output". It will contain all the 
     information needed to do the analysis.

3). Miscellaneous:
    ==============

Summary of graphs:
------------------

It is clearly observed from the graphs that, RSA takes much longer time 
than DSA to generate signatures.
It may be attributed to the key length... The length in RSA comapred to 
DSA is longer...

The similar reason can be attributed to the verification of the signatures also...

And general observation(not from the graph) is that RSA can ecrypt as well as sign but DSA can only sign.


--> In the second.sxc file, "sheet three" contains the graphs in total.

--> All teh cases have been not considered while drawing the graph.


