Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Q 1 . Answer RSA E - Signiture Algorithm Step 1 . Key Generation Person A generates a key and send public key to Person

Q 1.
Answer
RSA E-Signiture Algorithm
Step 1. Key Generation
Person A generates a key and send public key to Person B.
Choose two prime numbers (p and q)
Compute n=p**q
Compute (n)=(p-1)**(q-1)
Choose e such that ed(d**e)mod(n)=1(e,n)(d,n)mcc=memodncBBm=cdmodnm,m=8pq1 and e and (n) are coprime. (Their greatest common divisor is1)
5.Compute a value for d such that (d**e)mod(n)=1
Public key is(e,n)
Private key is(d,n)
Step 2. Signing
Person A chooses m and computes c,c=memodn, and sends cto Person B.
Step 3. Confirmation
Person B confirms whether the messages came from
Person Aor not.
The decryption of ciphertext cism=cdmodn
Using the above-explained RSA algorithm, encrypt and decrypt the message m,m=8,
Hint: Choose small p and q for easiness.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions