Banker 175 Share Posted August 9, 2018 Hey So working with NodeJS currently and trying to create a provably fair dice system, I'm using 'provable' from npm. However, I'm not understanding where the seeds (client/server) are generated and how I am able to display/handle these. Following the documentation I've managed to generate the roll with a hash, however its the seed that I'm struggling with and there's little help online about it. Any help is appreciated - Banker Link to comment Share on other sites More sharing options...
Articron 738 Share Posted August 9, 2018 In a provably fair system, seed generation goes as follows: The server generates a random seed first, which is then hashed and should be known to both server and user. The user can then pick a seed themselves. This can be any seed (whatever they like). After they submit their seed, the server's hash mustn't change in order to keep it provably fair. Makes sense? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.