Pages:
Author

Topic: Private Key by 256 coin flips - page 2. (Read 415 times)

legendary
Activity: 2324
Merit: 6006
bitcoindata.science
October 23, 2019, 01:04:11 PM
#16
Not sure if it's the safest way to generate a private key, but it's definetly the most fun way to do something like that.

If you generate 256 bit of your private key flipping a coin, you can 100% be sure that all your 256 bits are absolutely random.
If you generate a private key with the help of some software/wallet/other service, you can not be sure in their random algorythm. In some cases they also could be pseudorandom, generating the predefined keys within the predefined range (even if you use them offline).

I don't agree that the results are absolutely random. The coin weight might be a little biased, and you may have some muscular memory also which may lead to less randomness. Ofc this it is enough random for a private key generationg...... But I believe that are some better computer-based methods.

I still think the most secure way of generating a private key is through a hardware wallet. However, for educational purposes, this flipping method is amazing.
Ucy
sr. member
Activity: 2576
Merit: 401
October 23, 2019, 09:11:17 AM
#15
Some weeks ago I made a visual tool to create a bitcoin private key. The most secure way for key generation is to flip a physical coin 256 times. I flipped a coin 256 times, and made a video how to create the bitcoin private key with my tool.

Here is the video instruction: https://youtu.be/WyBdYhwweaE

The total time just for flipping a coin was 16 minutes, plus some minutes to fill the cells in my key generator. So, the fastest way to create a safe bitcoin private key with the physical 256 coin flips is appox. 15-20 minutes.

Enjoy!  Roll Eyes

PS. The project discussion is also available here: https://bitcointalksearch.org/topic/bitcoin-visual-private-key-generator-5187401

Nice. I guess it safer to do this offline as you suggested in your other thread. And a clean or brand new pc would be more suitable for even better security.
Generating a private keys in this way can be quite intimidating. The next thing would probably be to make it easier for even a 10year old kid to generate his own private keys in this way.
sr. member
Activity: 644
Merit: 264
Aurox
October 23, 2019, 07:53:46 AM
#14
If I have more time and I am bored then I will try doing that entertaining way of creating a private key. But given that time is crucial for me I guess Ill just pass and just be contented to the private key attached to the generated address on websites that host webwallets. Though it will take a long time to make a private key but I imagine it to be fun. I do thank you for sharing it in this forum and it really adds another folder to my knowledge about crypto.
sr. member
Activity: 443
Merit: 350
October 13, 2019, 08:04:42 AM
#13
So, the fastest way to create a safe bitcoin private key with the physical 256 coin flips is appox. 15-20 minutes.

since your tool supports it, try finding a 16 sided dice and roll that. these dies are also a popular way of creating random numbers (in hexadecimal format) and they are specially designed to be unbiased and produce a truly random result. the befit of it is that you only need to roll it 64 times which is a lot less than 256 times flipping a coin.

Cool idea! You are right, my tool allows to input the HEX value of the private key.
I searched 16side HEX dices and found a lot of them in internet for 1-3USD. Will order this dice for my experiments, nice thing.
Thank you!
sr. member
Activity: 443
Merit: 350
October 13, 2019, 07:57:36 AM
#12
snip
Looked at  video and should say the private key you generated via shaking a disposable cup is not random but rather pseudorandom in fact is the coin in the cup has the limits in  all directions.  IMHO, you would get the better results with  flipping   the coin up by the snap of two fingers.

Thank you for your feedback. Probably you are right.
There are different ways of flipping the coin - https://www.wikihow.com/Flip-a-Coin
And iI beleive that every human flipping a coin makes it in some pseudorandom way because of his habits, physical conditions, etc. And in fact, all these different singularities would add the additional entropy for the key generation process (like one man will make the flips with 51%/49% odds, another with 48%/52% odds, etc
sr. member
Activity: 443
Merit: 350
October 13, 2019, 07:44:28 AM
#11

If you are paranoid about your computer being backdoored to generate non-random keys, you should probably just stop using Bitcoin, since backdoored system can cause harm in many other ways - for example, generating non-random k parameter in ECDSA.


Yes, non-random k value in digital signatures is much much bigger problem! It is like appear on public absolutely nude with the clear private key written on the body  Grin
hero member
Activity: 1358
Merit: 635
October 13, 2019, 05:43:17 AM
#10
snip


Looked at  video and should say the private key you generated via shaking a disposable cup is not random but rather pseudorandom in fact is the coin in the cup has the limits in  all directions.  IMHO, you would get the better results with  flipping   the coin up by the snap of two fingers.
legendary
Activity: 3472
Merit: 10611
October 12, 2019, 11:54:28 PM
#9
So, the fastest way to create a safe bitcoin private key with the physical 256 coin flips is appox. 15-20 minutes.

since your tool supports it, try finding a 16 sided dice and roll that. these dies are also a popular way of creating random numbers (in hexadecimal format) and they are specially designed to be unbiased and produce a truly random result. the befit of it is that you only need to roll it 64 times which is a lot less than 256 times flipping a coin.
sr. member
Activity: 443
Merit: 350
October 12, 2019, 11:00:45 PM
#8
RNG is a weird topic and it's too advanced for this thread. But dice and coin flips are not completely random all the time.

Ok, for fun there is also a "pattern" way of key generation: https://youtu.be/0Ug4YBEyRFQ
This is like brain wallet, but use logos, patterns, symbols and other visual ideas  Cheesy

Such pattern keys could be used for small gifts and funny presents to others.
hero member
Activity: 952
Merit: 513
October 12, 2019, 10:03:26 PM
#7
Not sure if it's the safest way to generate a private key, but it's definetly the most fun way to do something like that.

If you generate 256 bit of your private key flipping a coin, you can 100% be sure that all your 256 bits are absolutely random.
If you generate a private key with the help of some software/wallet/other service, you can not be sure in their random algorythm. In some cases they also could be pseudorandom, generating the predefined keys within the predefined range (even if you use them offline).
That's true, but it depends on the software. For example, using ledgers software which randomally creates private keys it would be impossible for you to backdoor your way into it, due to limited internet connection and you needing to actually access the ledger wallet.

RNG is a weird topic and it's too advanced for this thread. But dice and coin flips are not completely random all the time.
legendary
Activity: 2954
Merit: 2145
October 12, 2019, 09:58:08 PM
#6
The most secure way for key generation is to flip a physical coin 256 times.

This is misleading, physical things like coins or dice can have a lot non-randomness if they were not designed specifically for the purpose of generating random numbers - https://www.schneier.com/blog/archives/2009/08/non-randomness.html

If you are paranoid about your computer being backdoored to generate non-random keys, you should probably just stop using Bitcoin, since backdoored system can cause harm in many other ways - for example, generating non-random k parameter in ECDSA.

Also, generating private key inside the browser is much less secure compared to software, especially if it's done online.
sr. member
Activity: 443
Merit: 350
October 12, 2019, 09:43:32 PM
#5
Not sure if it's the safest way to generate a private key, but it's definetly the most fun way to do something like that.

If you generate 256 bit of your private key flipping a coin, you can 100% be sure that all your 256 bits are absolutely random.
If you generate a private key with the help of some software/wallet/other service, you can not be sure in their random algorythm. In some cases they also could be pseudorandom, generating the predefined keys within the predefined range (even if you use them offline).
hero member
Activity: 952
Merit: 513
October 12, 2019, 09:08:20 PM
#4
Haha, very interesting way to generate a private key, 20 minutes well spent mate!

Not sure if it's the safest way to generate a private key, but it's definetly the most fun way to do something like that.

Flipping at once would be easier if you could contain the flip, it saves you the motion of flipping them one by one and going around and recording the results is easier then flipping them all one by one.
sr. member
Activity: 443
Merit: 350
October 12, 2019, 08:57:14 PM
#3
What about flipping 256 coins all at once? I would expect that to be a lot faster.

I do not think that it is easier. In practice, flipping one coin 256 times is faster than flipping all 256 coins at once (in the terms of the private key generation).
1) As you flip 256 coins at once, they will fly to different corners of the room. Difficult to collect without losing some of them.
2) Flipping is only one step, you still need to enter the outcome of each coin (find every coin, collect it, etc) --> time
3) I used 2EUR (it is 8.5gr, 1.95mm width, 25.75mm dia). So, 256 coins are 2.2kg weight - no very easy to flip  Shocked {1EUR is 7.5gr, so the total weight is like the same 1.92kg}
4) As for me i do not have 256 equal coins :-) 256 of 2EUR coins is 512 EUR. Usually prefer notes for such amounts  Cool

But i do not 100% sure that flipping one coin (as in my video) is faster. And will be very glad if somebody makes such experiment: flip 256 coins at once, and make a private key based on their outcomes.
legendary
Activity: 4354
Merit: 3260
October 12, 2019, 07:12:44 PM
#2
What about flipping 256 coins all at once? I would expect that to be a lot faster.
sr. member
Activity: 443
Merit: 350
October 12, 2019, 05:19:07 PM
#1
Some weeks ago I made a visual tool to create a bitcoin private key. The most secure way for key generation is to flip a physical coin 256 times. I flipped a coin 256 times, and made a video how to create the bitcoin private key with my tool.

Here is the video instruction: https://youtu.be/WyBdYhwweaE

The total time just for flipping a coin was 16 minutes, plus some minutes to fill the cells in my key generator. So, the fastest way to create a safe bitcoin private key with the physical 256 coin flips is appox. 15-20 minutes.

Enjoy!  Roll Eyes

PS. The project discussion is also available here: https://bitcointalksearch.org/topic/bitcoin-visual-private-key-generator-5187401
Pages:
Jump to: