Monday 10 April 2017

How can i generate a random number that is verifiable from the client side?

How should i approach generating a random number that a user could verify was chosen randomly after the number is revealed?

Example: I let up to 5 people put their names in a virtual hat and say i will pick a name once 5 people have put their names in the hat. How can i let the client check that i actually generated a random number and show i didn't just choose the name i liked the most?

I am assuming i will need to use a server sided seed that is only revealed once the name is drawn but how can i make sure the user knows i didn't alter this seed to match the outcome?



via Phant0mPhr3ak

No comments:

Post a Comment