The random-bytestring package

[ Tags: library, mit, system ] [ Propose Tags ]

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.


[Skip to Readme]

Properties

Versions 0.0.1, 0.1.0, 0.1.1, 0.1.2 (info)
Change log CHANGELOG.md
Dependencies base (>=4.7 && <4.11), bytestring (>=0.10), mwc-random (>=0.13), nats (>=1.1), pcg-random (>=0.1) [details]
License MIT
Copyright Copyright (c) 2017 Lars Kuhtz <lakuhtz@gmail.com>
Author Lars Kuhtz <lakuhtz@gmail.com>
Maintainer Lars Kuhtz <lakuhtz@gmail.com>
Category System
Home page https://www.github.com/larskuhtz/random-bytestring
Source repository head: git clone https://www.github.com/larskuhtz/random-bytestring
Uploaded Thu Sep 7 06:17:06 UTC 2017 by larsk
Distributions NixOS:0.1.2
Downloads 252 total (24 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-09-07 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for random-bytestring-0.1.2

[back to package description]

Build Status

Efficient Random Haskell ByteStrings

Installation

cabal install random-bytestring