The tf-random package

[Tags: bsd3, library]

This package contains an implementation of a high-quality splittable pseudorandom number generator. The generator is based on a cryptographic hash function built on top of the ThreeFish block cipher. See the paper Splittable Pseudorandom Number Generators Using Cryptographic Hashing by Claessen, Pałka for details and the rationale of the design.

The package provides the following:

The package uses an adapted version of the reference C implementation of ThreeFish from the reference package of the Skein hash function (, originally written by Doug Whiting.

Please note that even though the generator provides very high-quality pseudorandom numbers, it has not been designed with cryptographic applications in mind.


Versions0.1, 0.2, 0.3, 0.4, 0.5
Dependenciesbase (>=4.2 && <5), primitive (>=0.3), random, time
AuthorMichał Pałka <>
MaintainerMichał Pałka <>
Source repositoryhead: darcs get
UploadedWed Apr 9 13:57:37 UTC 2014 by MichalPalka
DistributionsDebian:0.5, FreeBSD:0.5, LTSHaskell:0.5, NixOS:0.5, Stackage:0.5
Downloads106321 total (424 in last 30 days)
StatusDocs available [build log]
Successful builds reported [all 1 reports]




Maintainers' corner

For package maintainers and hackage trustees