Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

( 1 point ) In this problem we will crack RSA. Suppose the parameters for an instance of the RSA cryptosystem are N = 4

(1 point) In this problem we will crack RSA. Suppose the parameters for an instance of the RSA cryptosystem are N=4661,e=5.(1 point) The speed of RSA hinges on the ability to do large modular exponentiations quickly.(1 point) The Chinese Remainder Theorem is often used as a way to speed up modular exponentiation. In this problem we go through the procedure of using CRT.
Suppose we want to compute xdmodN, where x=2568,d=2843, and N=4399.
To use the CRT technique we must know the factorization of N. In the case of this problem, N=pq where p=83 and q=53.
Step 1)
We first compute xp=x,modp and xq=xmodq.
xp=
xq=
Step 2)
We compute the exponents dp=dmodp-1 and dq=dmodq-1. Notice that this step uses Fermat's Little Theorem.
dp=
dq=
Step 3)
In this stage we do the exponentiation in the smaller groups.
yp=xpdpmodp=
yq=xqdqmodq=
Step 4)
We now return to the big group using the formula y=qcpyp+pcqyqmodN.
In this formula, cp=q-1modp and cq=p-1modq.
cp=
cq=
And finally,
y=
While e can be made small, d generally cannot.
A popular method for fast modular exponentiation is the Square and Multiply algorithm.
Suppose that N=19511 and d=3845. We want to use the Square and Multiply algorithm to quickly decrypt y=17512.
a) Express d as a binary string (e.g.10110110).SQ,MUL,SQ,SQ,SQ,MUL,SQ,SQ,MUL,SQ,SQ.
c) What is x=ydmodN ?
We have obtained some ciphertext y=1046.
a) Factor N=4661 into its constituent primes p and q.
min(p,q)=
max(p,q)=
b) Compute (N).
(4661)=
c) Compute d, the decryption exponent.
d=
d) Decrypt y=1046 to find the plaintext.
x=
image text in transcribed

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

Joe Celkos Data And Databases Concepts In Practice

Authors: Joe Celko

1st Edition

1558604324, 978-1558604322

More Books

Students also viewed these Databases questions