News for hackers. Stuff that matters.
Re:Predicting Random Numbers in Ethereum Smart Contracts by AgentME on Saturday February 03, 2018 @02:09PM (#16298999)
How would that work? Everything in the blockchain is public. You can't automatically have something be revealed in the blockchain; if that worked, what stops someone from simulating blocks being added to the blockchain and seeing what your contract does? Unless the decryption was somehow linked to the set of the proof-of-works involved, but I don't think anyone yet has an idea of how that could be done.

You could later publish a decryption key into the blockchain that the contract uses, but I don't think that's "automatic" in the sense the earlier posts were hoping for.

Re:Predicting Random Numbers in Ethereum Smart Contracts by sova on Tuesday February 06, 2018 @11:20PM (#16322218)
Right, you would need a secret that is never revealed on the blockchain itself, but you could verify that someone had it and posted hashes derived from it periodically on the blockchain.