Exercise 1
Generate the Public Key, Private Key and Cipher Text using RSA algorithm for the following values
• Prime number1(p) = 31 and Prime number2(q) = 13
• Plain text = sum of the last four digits of your registration number. If your registration number is 12BCE0024 then the plain text value is 0+0+2+4 that is 6
Exercise 2
Generate the Public Key, Private Key and Cipher Text using RSA algorithm for the following values
• Prime number1(p) = 29 and Prime number2(q) = 17
• Plain text = sum of the last four digits of your registration number. If your registration number is 12BCE0024 then the plain text value is 0+0+2+4 that is 6