package pringo

  1. Overview
  2. Docs

This is an implementation of the STATE and PURE interfaces based on the Splitmix design by Guy L. Steele Jr., Doug Lea, and Christine H. Flood.

For seeding, 64 bits of entropy is recommended. Seeds of 8 characters or less are used as a 64-bit integer. Longer seeds are hashed using Digest.string before being used.

Reseeding is recommended after 232 numbers have been generated.

module State : STATE
module Pure : PURE
OCaml

Innovation. Community. Security.