Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

RSA Decryption Exercise Two prime numbers p and q are chosen, and n = pq is computed as follows: p = 5 , q =

RSA Decryption Exercise
Two prime numbers p and q are chosen, and n = pq is computed as follows:
p =5, q =11=> n =511=55.
The product n must be greater than 36 to enable encryption of all characters and numbers.
Calculate \phi No =(p-1)(q-1)=(5-1)(11-1)=410=40.
To create public key choose e =3(1< e <\phi No, and e and \phi No are co-primes).
The public key is: (e,n)=(3,55).
To calculate private key, solve: (ed) mod \phi No =1.
The private key is: (d,n)=(27,55).
Encrypted message
The message was encrypted converted to numbers using the table below, and then encrypted using public key (3,55).
The encrypted message is "390149205201"
Decrypted message
The message is decrypted using the private key (27,55).
The first letter of the encrypted message is decrypted:
S = Cd mod n = mod(3927,55)=19, which is letter S in number format.
What is the original (decrypted) message, when the encrypted string is "390149205201"?

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

Step: 3

blur-text-image

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

Graph Databases New Opportunities For Connected Data

Authors: Ian Robinson, Jim Webber, Emil Eifrem

2nd Edition

1491930896, 978-1491930892

More Books

Students also viewed these Databases questions