/var/lib/ghc/package.conf.d/tf-random-0.5.conf is in libghc-tf-random-dev 0.5-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | name: tf-random
version: 0.5
id: tf-random-0.5-be1be3a7eeba5ee8baa6cee25a76f884
key: tfran_1eLmkn3WUnC8NZpPuDLGKF
license: BSD3
maintainer: Michal Palka <michal.palka@chalmers.se>
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, Palka 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: Michal Palka <michal.palka@chalmers.se>
exposed: True
exposed-modules:
System.Random.TF System.Random.TF.Gen System.Random.TF.Init
System.Random.TF.Instances
trusted: False
import-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/tf-random-0.5-1eLmkn3WUnC8NZpPuDLGKF
library-dirs: /usr/lib/haskell-packages/ghc/lib/x86_64-linux-ghc-7.10.3/tf-random-0.5-1eLmkn3WUnC8NZpPuDLGKF
data-dir: /usr/share/tf-random
hs-libraries: HStf-random-0.5-1eLmkn3WUnC8NZpPuDLGKF
depends:
base-4.8.2.0-0d6d1084fbc041e1cded9228e80e264d
primitive-0.6.1.0-b2a7b9f8d5591c0d4ce7ef238a3217d2
random-1.1-c46cc413d88c0a330b5495d03f0ed464
time-1.5.0.1-1b9a502bb07a3e6f4d6935fbf9db7181
haddock-interfaces: /usr/lib/ghc-doc/haddock/tf-random-0.5/tf-random.haddock
haddock-html: /usr/share/doc/libghc-tf-random-doc/html/
|