dice-entropy-conduit: Cryptographically secure n-sided dice via rejection sampling.

[ cryptography, data, lgpl, library ] [ Propose Tags ]

This library uses rejection sampling to provide cryptographically secure n-sided dice rolls and random sampling (within a given range). The number of used random bits is close to the information-theoretic optimal bound.

The API provides a conduit interface. See module System.Random.Dice for a more detailed description.

Feedback is welcome!

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0.0, 1.0.0.1, 1.0.0.3
Dependencies base (>=4 && <5), bytestring (>=0.9), conduit (>=1.1.7), entropy (>=0.3.2), transformers (>=0.4.0.0) [details]
License LGPL-2.1-only
Copyright Peter Robinson 2014
Author Peter Robinson <peter.robinson@monoid.at>
Maintainer peter.robinson@monoid.at
Category Cryptography, Data
Home page http://monoid.at/code
Uploaded by PeterRobinson at 2014-09-02T15:38:10Z
Distributions Debian:1.0.0.3, NixOS:1.0.0.3
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 2522 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Successful builds reported [all 1 reports]