IT 653 Network Security

Assignment 1 on RSA Algorithm perfromance

submitted by

Roll Number: 03429801
NAme:  Ramrao Wagh

email id: ramrao@it.iitb.ac.in

The following files are included in this folder:

Analysis.txt - Analysis of the execution of programs as per the assignment 

RSA.java - java source code file for performance study of RSA algorithm by varying key size
		The same program is also used for analysing the perfromance by changing the
		 probability value of p & q being prime.

RSA2.java- java source code file for performance study of RSA algorithm by varying message size.

The following output files are also included:

 
rsad1.txt - output of RSA.java showing the plaintext, key, encrpted message and decrypted message.

rsat1.txt - output of RSA.java showing the time for genration of key, encryption, decryption and total time
		 for various key sizes

 

r2data.txt - output data of RSA2.java showing key etc for various values of message size from 0KB to 4 KB

r2time.txt - output of RSA2.java shoing time required for generation of keys etc. 

rsamessize.txt - file created by compiling all the outputs of r2time.txt

rsappq.txt - output of RSA.java showing the key generation time  when certainty value in BigInteger constructor is changed from
            5 to 100.( PS: created manually by running RSA.java multiple times)


How to execute the programs:

The programs were developed using Netbeans IDE and were tested and executed under the same.

Both the programs were compiled and RSA.class and RSA2.class were generated.

for running the programs please follow the steps:

java RSA ofile1 ofile2

java RSA2 ofile1 ofile2

ofile1 and ofile2 are the names of the output files such that
ofile1 will contain time related informtion
ofile2 will have keys, encryption, decryption related information

 
