Question

In: Advanced Math

If there are functional limit to the size of primes we can use, but how and...

If there are functional limit to the size of primes we can use, but how and why is there a functional limit? more detail on how primes are used in RSA.please type

Solutions

Expert Solution

● If you choose p and q very large, say each of 512 bits, then computer will not be able to factorize n=pq(which is of 1024 bit) in a limited suitable time. Thats why there is a functional limit.

● The algorithm for RSA as follows:

Person1's secret key generation:-

1. Choose two primes p and q

2. Compute n= pq and g= phi(n)= (p-1)(q-1)

3. Choose an integer 1<e<g which is coprime to g

4. By Euclid algo find 1<d<g such that ed≡1(mod g)

5. Make n and e public & keep p,q,d secret.

Person2's encryption:-

1. Get the public key (n,e)

2. Use the message M as an integer from the set {0,1,...,n-1}

3. Compute C≡M^e (mod n)

4. Send C to person1.

Decryption by person1:-

To decrypt the message he has to compute M≡C^d( mod n).

■ The fact that ensures the safety of RSA is- a large number is very difficult to factorize. Thats why inspite of knowing n adversory cannot be able to know p and q easily.


Related Solutions

How can we use “linear regression” to estimate non-linear functional forms?
How can we use “linear regression” to estimate non-linear functional forms?
can we have two limit cycles in a 2d state space? if possible how can we...
can we have two limit cycles in a 2d state space? if possible how can we draw them?
What risks does a car company face? How can we limit these risks?
What risks does a car company face? How can we limit these risks?
Why we need to use elastic limit state?
Why we need to use elastic limit state?
Because there are infinitely many primes, we can assign each one a number: p0 = 2,...
Because there are infinitely many primes, we can assign each one a number: p0 = 2, p1 = 3, p2 = 5, and so forth. A finite multiset of naturals is like an ordinary finite set, except that an element can be included more than once and we care how many times it occurs. Two multisets are defined to be equal if they contain the same number of each natural. So {2, 4, 4, 5}, for example, is equal to...
How can we use game theory to improve strategic decision-making? How can we use game theory...
How can we use game theory to improve strategic decision-making? How can we use game theory in the construction and/or design of a strategy?
Using the Central Limit Theorem, how can we be confident that this public opinion polling tells...
Using the Central Limit Theorem, how can we be confident that this public opinion polling tells us information about a larger population by taking a sample?
For statistics we use the central limit theorem rule for n>30. But what do we use...
For statistics we use the central limit theorem rule for n>30. But what do we use is n<30?? Please fully explain with examples
how can we use cryptography libraries in Python
how can we use cryptography libraries in Python
Explain how we can use phage in daily life
Explain how we can use phage in daily life
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT