DicEx.RNG.Default (dicEx v0.1.0)

Copy Markdown View Source

The default RNG: a thin wrapper around Erlang's :rand.

Every roll draws from :rand.uniform/1, so seeding the calling process (via DicEx.roll/2's :seed option) yields a reproducible sequence. Use DicEx.RNG.Entropy when you want cryptographic, non-replayable randomness.