#This is a script to generate graph for time taken by RSA for and encryption/decryption for different message sizes.
# author: Shweta Agrawal
# Date: 15 Aug, 2003

# Run the RSA algorithm to generate key pairs and encrypt and decrypt a message for various  sizes.
#Store the output in msize_time.out
./experiment_msize.pl msize_time_256.out 256

#Read the output file from RSA and generate the file in proper formant to create graph
#msize generation_time encryption_time decryption_time 
./creategraph.pl msize_time_256.out msize_time_256.dat

#plot the graph
#output msize_time.png
gnuplot plotgraph_msize_256.p


#For one more key size
./experiment_msize.pl msize_time_128.out 128
./creategraph.pl msize_time_128.out msize_time_128.dat
gnuplot plotgraph_msize_128.p

