@blockchaincommons/rand - random number primitives for the Blockchain Commons stack.
nextU32
nextU64
fillBytes
SeededRng.forTesting()
state
clone()
{ rng }
code
@blockchaincommons/rand/samplers
@blockchaincommons/rand - random number primitives for the Blockchain Commons stack.
nextU32,nextU64,fillBytes).SeededRng.forTesting()is the shared cross-platform fixture seed;stateandclone()persist and fork it.{ rng }and defaulting to the secure generator.codefor every failure.@blockchaincommons/rand/samplers.