Question: Assignment 1 Write program with any programming language to encrypt and decrypt a message using RSA algorithm Due date: 1 8 September ( class time

Assignment 1
Write program with any programming language to encrypt and decrypt a message using RSA algorithm
Due date: 18 September(class time)
Requirements:
1. Key Pair Generation: (2 pints)
- write code with comments to generate both public and private keys.
- The key size should be at least 16 bits prime numbers.
2. Encrypting a Message with the Public Key: (2 points)
- write code with commentsto encrypt a given text message using the public key.
- The encryption should be tested.
3. Decrypting the Message with the Private Key: (2 points)
- write code with comments to decrypt the encrypted text using the private key.
- It should be verified that the decrypted text matches the original text exactly.
4. Handling Long Messages: (2 points)
- write code with comments that handle messages that exceed the key size
5. Writing a Report: (2 points)
- write a report in word documents explaining the completessteps of complete the program, use
picture to describe the steps

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!