CST407 HW#3 Solved

15.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . zip solution files instantly, after Payment

Description

5/5 - (1 vote)
  1. Write a C++ program that will generate three sets of RSA keys. Make sure primes p, q and key e are numbers that are greater than 10000

 

  1. Write a program that will encrypt or decrypt a plaintext number using RSA. Namely, the program will ask the user to input a number for plaintext, e or d(depending on encrypting or decrypting) and n. The ciphertext will be a number. The recovered plaintext number will be the same as the original plaintext number. The program MUST use the keys generated in part 1 above.

 

 

 

 

 

  • hw3.zip