Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1) Using any programming language of your choice implement the RSA algortithm 2) The implementation should have 3 parts: key generation, encryption and decryption 3)

1) Using any programming language of your choice implement the RSA algortithm

2) The implementation should have 3 parts: key generation, encryption and decryption

3) Key generation should take the values p and q as input and generate n, e and d

NB: Calculating the value of e requires the use of the extended eulcidean algorithm to calculate modular multiplicative inverses. Your implementation may skip this and request for the manual input of e by presenting the value of totient n to the user.

4) Encryption should take a short string as input, convert it into an integer and encrypt it.

5) Decryption should take an integer value as input, decrypt it and output the corresponding string

6)Please document your code

7) Submit your code and a detailed Readme file, which should explain how to run the code with sample input and output, in a zipped folder by the due date

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions

Question

Explain the causes of indiscipline.

Answered: 1 week ago

Question

Have roles been defined and assigned?

Answered: 1 week ago