Thank you for the honest reviews and tips!
What is the practical purpose of such packages? Is it a thing for players or for developers? For casino of for whom?
I prefer your idea, because I'm going to create my own provably fair games. But I can't use your code as is, because it is practically useless for me as a developer.
The packages are mainly targeted for developers who are interested in provably fair technologies. End-users can use the code to verify their bets, while game owners can integrate standardized, peer-reviewable packages for their implementations.
Originally, I was planning to implement the method as described on the official PrimeDice page, but I decided to code a matching implementation with better performance. The code I used should definitely be more commented, though.
For OpenSource project, if you expect some contributions get done by the community, please create at least the road map of your project, or fill the issues list with features/ideas you want to be implemented, explain your idea and motivation.
That's a great idea indeed, issues should be created for several games
(e.g. blackjack and poker, but the latter seems to be hard and comes with compromises), algorithms
(e.g. shuffling) and vendors.
For provably fair, software support isn't alway enough. For example big companies for provably fair system are using Quantis which is a family of hardware random number generators (RNG) which use the fundamentally random nature of quantum optics as a source of true randomness. It's good that you are going to make open source project about provably fair system but it needs improve.
Supporting custom random number providers would be a good idea, although implementing a generic interface for them needs further thoughts.