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
Upload dateWed Apr 9 13:57:37 UTC 2014
Uploaded byMichalPalka
DistributionsDebian:0.5, NixOS:0.5
Downloads66706 total (11881 in last 30 days)




Maintainers' corner

For package maintainers and hackage trustees