Re:Crypto for kids
by modalduality on Wednesday September 06, 2017 @01:00AM
(#15181343)
yup! they should have used a commitment scheme instead - for example, SHA256(winning numbers || 512-bit nonce). To reveal, reveal the winning numbers and the nonce and Mr X can check that the hash matches. The nonce is to introduce more entropy so Mr X can't just bruteforce the hash, but since finding any collision is difficult, it doesn't let the alien cheat by trying different nonces (unlike with different keys with encryption schemes).
[ Parent
| on HN ]
There are no comments on this comment yet.