name: tf-random
version: 0.5
id: tf-random-0.5-335c6bf83ab811287a2be8bb8a96e38d

license: BSD3
copyright:
maintainer: Michał Pałka <michal.palka@chalmers.se>
stability:
homepage:
package-url:
synopsis: High-quality splittable pseudorandom number generator
description: 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:
             .
             * A splittable PRNG that implements the standard 'System.Random.RandomGen' class.
             .
             * The generator also implements an alternative version of the 'System.Random.TF.Gen.RandomGen' class (exported from "System.Random.TF.Gen"), which requires the generator to return pseudorandom integers from the full 32-bit range, and contains an n-way split function.
             .
             * An alternative version of the @Random@ class is provided, which is linked to the new @RandomGen@ class, together with @Random@ instances for some integral types.
             .
             * Two functions for initialising the generator with a non-deterministic seed: one using the system time, and one using the @\/dev\/urandom@ UNIX special file.
             .
             The package uses an adapted version of the reference C implementation of ThreeFish from the reference package of the Skein hash function (<https://www.schneier.com/skein.html>), 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.
category: Random
author: Michał Pałka <michal.palka@chalmers.se>
exposed: True
exposed-modules: System.Random.TF System.Random.TF.Gen
                 System.Random.TF.Init System.Random.TF.Instances
hidden-modules:
trusted: False
import-dirs: /usr/pkg/lib/tf-random-0.5/ghc-7.6.3
library-dirs: /usr/pkg/lib/tf-random-0.5/ghc-7.6.3
hs-libraries: HStf-random-0.5
extra-libraries:
extra-ghci-libraries:
include-dirs:
includes:
depends: base-4.6.0.1-72d6677eb4ac5df4372f1408c9a3c60d
         primitive-0.6.1.0-94767c874234c211528c6b6867c2c558
         random-1.1-6565cf82627916177432c87d0b5ea284
         time-1.4.0.1-0f7a46965351d02b0e08aa47c88013d5
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/pkg/share/doc/tf-random-0.5/html/tf-random.haddock
haddock-html: /usr/pkg/share/doc/tf-random-0.5/html
