Bitcoin Forum
November 01, 2024, 11:59:33 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: A deck of 52 cards vs. a 6-sided die  (Read 790 times)
pf (OP)
Full Member
***
Offline Offline

Activity: 176
Merit: 105


View Profile
July 30, 2015, 02:16:31 PM
 #1

I'm planning on using a 6-sided die to create entropy. That's 100 throws to get a 256-bit entropy.

But many, including goatpig (Armory developer), advocate a deck of 52 cards instead.

Can someone elaborate on this? Why is this a better strategy?

In fact, what's the strategy? Shuffle the 52 cards in an opaque plastic bag, draw one, put it back, and repeat 45 times (for 256-bit entropy)? Is that it?

I guess I just don't see the benefits because, how random can a human shuffling a plastic bag of rather big cards that get in the way of each other in the bag really be? At least a die is spinning like crazy in the air (and banging against walls and floors and ceilings) without human interference after the human has tossed it out of his hands. But then on the other hand, a die can be biased, so that's a drawback of course. Hmm.
Ente
Legendary
*
Offline Offline

Activity: 2126
Merit: 1001



View Profile
July 31, 2015, 09:28:39 PM
 #2

Yes, I'd agree to your findings.
A die could be cheaply manufactured and be biased.

Also, depending on what you want to create, you won't need 256 bits (can't remember what made use of effectively 192bits only, I think?).

Either way, anything remotely like those are going to be fine. I wouldn't trust the pseudo-RNG of some tiny embedded device (raspi included), but other than that and faulty RNGs, this doesn't seem to be a plausible attack vector.
Not until every single brainwallet was emptied, more than half of all computers are infected with bitcoin-targeting malware, and the first hacks of "offline" wallets are reported :-)

Still, never wrong to err on the save side here.

Raalok
cypherdoc
Legendary
*
Offline Offline

Activity: 1764
Merit: 1002



View Profile
August 03, 2015, 07:40:30 PM
 #3

Anyone know of the perfect die?
jl2012
Legendary
*
Offline Offline

Activity: 1792
Merit: 1111


View Profile
August 04, 2015, 08:57:40 AM
 #4

Anyone know of the perfect die?

Search "casino dice" on google

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3 (Bitcoin ONLY)
LRDGENPLYrcTRssGoZrsCT1hngaH3BVkM4 (LTC)
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!