Trending Technology Machine Learning, Artificial Intelligent, Block Chain, IoT, DevOps, Data Science

Recent Post

Codecademy Code Foundations

Search This Blog

Create Bitcoin address with 16 - sided dices

A 16 - sided dice has values 1 till 16 .
You always need to subtract 1 to get the hexadecimal representation.

4 bits has in total 16 combinations .
 

Which means , the value of one 16-sided dice represent 4 bits.

If you throw a 16-sided dice twice, the two dice values represent 1 byte.



⇐ hexadecimal representation
⇐ binary representation

To create a 32 bytes random number you need to throw one 16-sided dice 32 * 2 = 64 times.

If you have four 16-sided dices you only need to throw these 4 dices, 64/4 = 16 times to get a 32 bytes random number.

If you use more than one 16-sided dice, use different colour dices.

Use each colour in a particular order when creating the random number.

A 32 bytes random number has in total 2 power (32*8) = 2 to power 256 combinations



This value has 78 digits and is approximately 10 to power 77.

The number of atoms in the entire observable universe is estimated to be within range of 10 to power 78 to 10 to power 82.

Because of the above mentioned , when a Bitcoin client creates a Bitcoin address it never checks if this address already exists because it is improbable that it will happen (but it is not impossible!)

No comments:

Post a Comment

Popular Articles