Hacker News new | ask | show | jobs
by lern_too_spel 1179 days ago
This just relies on the pseudorandomness of SHA-256. You can skip a lot of waste and use SHA-256 directly.
1 comments

No; it relies on practically nobody being able to control what the SHA-256 is applied to.
That's actually very easy to control. Just pay a high transaction fee. The nonce comes from a PRNG that doesn't have to pass many randomness checks. Your proposal really is no more random than a counter based SHA256 PRNG except with an awfully high sample latency.