Re:$560M Powerball Winner Can Keep Her Name Private, Judge R...
by gibybo on Tuesday March 13, 2018 @12:04AM
(#16573824)
You can just use the last x bits of hashes for the last y blocks to generate a random number.
[ Parent
| on HN ]
Re:$560M Powerball Winner Can Keep Her Name Private, Judge R...
by fgonzag on Tuesday March 13, 2018 @12:46AM
(#16573913)
If you have the seed and the algorithm for the PRNG before the random number is drawn, then anyone can calculate it and pick the number.
The seed would have to be picked as the number is drawn if the system is public.
Re:$560M Powerball Winner Can Keep Her Name Private, Judge R...
by gibybo on Tuesday March 13, 2018 @04:05AM
(#16574466)
You would commit your guess in a block prior to the random bits being determined.
This is actually a popular scheme used by a lot of 'provably fair' gambling sites/smart contracts.