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

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


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!


Change logNone available
Dependenciesbase (==4.*), bytestring (>=0.9), conduit (>=1.1.7), entropy (>=0.3.2), transformers (>= [details]
CopyrightPeter Robinson 2014
AuthorPeter Robinson <peter.robinson@monoid.at>
CategoryCryptography, Data
Home pagehttp://monoid.at/code
UploadedTue Sep 2 15:26:05 UTC 2014 by PeterRobinson




Maintainers' corner

For package maintainers and hackage trustees