safe-rng

1.0.4 • Public • Published

SafeRNG

SafeRNG is a JavaScript library for generating provably fair numbers in online gambling and betting applications. It provides a set of functions for generating integers, floats, and dice rolls, as well as utility functions for combining seeds and hashing data using the SHA-256 algorithm. SafeRNG uses a combination of client seed, server seed, and nonce to ensure that the generated numbers are transparent and fair. It's simple to use and integrates easily into existing applications. SafeRNG is released under the MIT license and is free for personal and commercial use.

Package Sidebar

Install

npm i safe-rng

Weekly Downloads

6

Version

1.0.4

License

MIT

Unpacked Size

7.6 kB

Total Files

3

Last publish

Collaborators

  • bpluhar