Assignment 3
Assignment 3
Question:3 Make RSA (encryption & decryption) application which inputs two price numbers from
user and check the numbers are prime. User can choose the public key; application should calculate its
private key and then after this should encrypt or decrypt the word file. [20] Marks
Question:4 [20] Marks
In DSA algorithm you are given with q=31 choose appropriate p, h=3 and choose x= last digit of
your registration number (if not valid then choose x=5) and choose k= last digit of your
registration number (if not valid then k=7)
And H(M)=5. Now calculate the signature {r,s} and also verify these signatures on the receiver
side?