Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Blockchain mining ( 2 pt . ) The output of SHA 2 5 6 is usually shown is in hexadecimal ( each character is 4

Blockchain mining (2pt.)
The output of SHA256 is usually shown is in hexadecimal (each character
is 4 bits). Each output can be seen as an integer between 0 and 2256-1
following the standard conversion from bit strings to integers.
b255b254dotsb1b0i=0255bi2i
In this exercise we assume that, taking different inputs, the output of
SHA256 is uniformly distributed.
(a) Suppose that you take 48 inputs, and compute SHA256 for each
one of them. How many outputs will be is below 2252, in average?
(b) A recent block hash was
0000000000000000000153990bd58860af764cc7a49c8755416e
12d4b6df6233
This number is below 2180. How frequent is a number below 2180, in
average?
(c) Make an estimation of how much time you would need, with your
computer, to obtain a hash value below 2180. To do so, use openssl,
another application, or an estimation of a SHA256 execution.
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

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions