Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Blockchain use RSA which involves a public key and a private key. The public key can be known to everyone and is used for encrypting

Blockchain use RSA which involves a public key and a private key. The public key can be known to everyone and is used for encrypting messages. Messages encrypted with the public key can only be decrypted using the private key. The keys for the RSA algorithm are generated the following way:

Choose two distinct large random prime numbers p and q

Compute n=pq

  • n is used as the modulus for both the public and private keys
  • Compute the totient: phi(n)= (p-1)(q-1)

Choose an integer such that 1 < e

  • e is released as the public key exponent

Compute d to satisfy the congruence relation de=1 mod (phi(n)) or as an example d = (e^(-1) mod phi(n))

  • d is kept as the private key exponent

1. p = 11

q = 3

2. p = 23

q= 13

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

More Books

Students also viewed these Databases questions

Question

Briefly explain the various types of leadership ?

Answered: 1 week ago

Question

Explain the need for and importance of co-ordination?

Answered: 1 week ago

Question

Explain the contribution of Peter F. Drucker to Management .

Answered: 1 week ago

Question

What is meant by organisational theory ?

Answered: 1 week ago