Assignment 1, part 1 and 2
by Staffan Lundstrom, roll no 03005201

Notes:
Files submitted:
- part1.pdf
- part2.pdf

The appendix consists of the files 
- sample1.txt
- RSA2.java

Please observe that I don't have any script file. I couldn't test it because of some strange permission error and therefore decided not to send it. The program is compiled by typing 
javac RSA2.java 
The program is executed by writing 
java RSA2 <key size>

In the measurement of encryption/decryption time for various message sizes I calculated the message sizes by using the relation 1 character = 8 bits. The normal character size used in Java is 16 bits but the message was type casted to the primitive type byte, which has the size 8 bitss.
 
The computer used for the test was a Dell Inspiron 500m, 1.3 GHz Pentium-M (Intel Centrino).