Efficient generation of random bytestrings.
This package is deprecated. Please, use genByteString
from the random package (version >=1.2) instead.
Efficient generation of random bytestrings. The implementation populates uninitialized memory with uniformily distributed random 64 bit words (and 8 bit words for remaining bytes at the end of the bytestring).
Random words are generated using the PRNG from the mwc-random package or the pcg-random package. It is also possible to use a custom PRNG by providing an instance for the RandomWords
type class and using the function generate
from the module Data.ByteString.Random.Internal
.
The generated byte strings are suitable for statistical applications. They are not suitable for cryptographic applications.
This package is deprecated. Please, use genByteString
from the random package (version >=1.2) instead.
Efficient Random Haskell ByteStrings
Installation
cabal install random-bytestring