Skip to content

Latest commit

 

History

History

README.md

Blockchain Commons Random Number Utilities for TypeScript

Disclaimer: This package is under active development and APIs may change.

Introduction

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.

Rust Reference Implementation

This TypeScript implementation is based on bc-rand-rust v0.5.0 (commit).