smileyhead@discuss.tchncs.de to Asklemmy@lemmy.ml · 7 months agoIs it possible for devices on an online group chat to toss a coin without trusting each other and the server?message-squaremessage-square3fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1message-squareIs it possible for devices on an online group chat to toss a coin without trusting each other and the server?smileyhead@discuss.tchncs.de to Asklemmy@lemmy.ml · 7 months agomessage-square3fedilink
minus-squareMelllvar@startrek.websitelinkfedilinkEnglisharrow-up0arrow-down1·edit-27 months agoAll participants select their own random whole number and publish it to the group. All participants add all the numbers together. The result is either odd or even (heads/tails) and everyone arrives at the same result independently.
minus-squaredriving_crooner@lemmy.eco.brlinkfedilinkarrow-up1·7 months agoThe last person to send the number decide the outcome
minus-squareMelllvar@startrek.websitelinkfedilinkEnglisharrow-up0arrow-down1·7 months agoIt doesn’t have to be addition. It could be a hash function, etc.
All participants select their own random whole number and publish it to the group. All participants add all the numbers together. The result is either odd or even (heads/tails) and everyone arrives at the same result independently.
The last person to send the number decide the outcome
It doesn’t have to be addition. It could be a hash function, etc.
deleted by creator