2
Dice do have imperfections (depending on how expensive ones you get), but would they not still have enough entropy such that a private key generated by them could be considered really safe? I am thinking of paper wallets storing lots of coins, potentially.
It would short circuit the problems with the implementations of random number generators on computers (the recent Android bug, and the Debian bug between 2006 and 2008)
http://www.debian.org/security/2008/dsa-1571
If a die is missing a side one would notice, so they are a lot easier to inspect for big errors than computer code.
So, how much would imperfections in dice lower the entropy? Could you just calculate with a lower base, e.g. 5.765*N rather than 6*N with a perfect die (5.765 then being a measurement of imperfection of a specific die).
Edit: maybe rather 6**(N-x), where x are the extra occurrences of one number.
2I'm sorry, but I don't really see how this is specially related to Bitcoin? – Jori – 2013-11-21T15:15:22.680
It is the generation of the Bitcoin private key, I will clarify that in the text. As you know there have been problems with the RNGs on some platforms – jeorgen – 2013-11-21T16:21:03.960
So let me get this clear: you propose using dices from a board-games like Monopoly instead of using Pseudo-Random Number generators? Wouldn't that be really time consuming (although fun lol). If you are really worried about implementation/security errors, you should look into True Random Number generators. These are external devices that can be plugged in your computer and make use of atmospheric noise or atom decay. See for example http://www.random.org/.
– Jori – 2013-11-21T16:45:02.007Hardware random generators may still suffer from implementation errors, just like the RNGs on computers. RNGs on computers may also be driven with real randomness from the microphone (see randomsound package on Linux). If dice are good enough, entropy-wise, they are a really simple solution. And I mean using it for a cold storage wallet, so you only need to do it once (or a couple of times if you need to move bitcoins). – jeorgen – 2013-11-21T17:05:43.263
see http://world.std.com/~reinhold/diceware.html
– RentFree – 2013-11-21T17:31:06.053You may want to get casino-grade / tested dice – RentFree – 2013-11-21T17:31:34.167
A question like this might get a better response on a math or general cryptography StackExchange. There's nothing in the question specific to bitcoin (other than they happen to want to make a cryptographically good random number for use in bitcoin). – dchapes – 2013-11-21T18:28:54.710
Well, most things are not specific to bitcoin, since all technologies and solutions it is made up of, are also in used in other things. However you may have a point in that there are not that many people in this part of stackexchange who can answer something like off the top of their heads. I do believe that the key generation handling is crucial to bitcoin's future. – jeorgen – 2013-11-21T19:09:48.560
...and the specifics of the key space and availability of the blockchain with all the addresses and many of the public keys, frames the problem in a certain context, when it comes to crackability and incitament to do so. – jeorgen – 2013-11-21T19:12:08.747