Disclaimer: This package is under active development and APIs may change.
rand exposes a uniform API for the random number primitives used in higher-level Blockchain Commons projects, including a cryptographically strong random number generator and a deterministic random number generator.
The crate also includes several convenience functions for generating secure and deterministic random numbers.
This TypeScript implementation is based on bc-rand-rust v0.5.0 (commit).