https://github.com/oeo/nist-game-example
provably fair rng using nist pulses
https://github.com/oeo/nist-game-example
Last synced: 2 months ago
JSON representation
provably fair rng using nist pulses
- Host: GitHub
- URL: https://github.com/oeo/nist-game-example
- Owner: oeo
- Created: 2024-07-15T08:08:25.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-07-15T08:10:19.000Z (10 months ago)
- Last Synced: 2025-01-25T22:22:06.999Z (4 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# nist-game-example
quick and dirty implementation of a provably fair game using nist randomness.
## what's this?
just a node.js script that grabs a nist randomness pulse and uses it to generate some "random" numbers. it's supposed to be provably fair.
## how to use
1. clone this repo
2. run `npm install`
3. run `node index.js`## what it does
- fetches a nist pulse
- generates 100 random numbers
- prints them out
- tries to verify its own output## license
mit