Re:Ask HN: Idea of a little simple lottery system with hash
by a_tartaruga on Thursday May 09, 2024 @12:17AM
(#40305261)
This isn't specified well enough to get detailed criticism. I don't know what you're hashing exactly but I think it includes purchase time. Depending on resolution of {Time of purchase of lottery} it might be very easy to manipulate.
[ Parent
| on HN ]
Re:Ask HN: Idea of a little simple lottery system with hash
by keepworking on Thursday May 09, 2024 @12:33AM
(#40305325)
The idea was to list participants' purchase information in a byte array and hash them. I thought that the more participants there were, the more difficult it would be to induce the desired hash value to come out.