./devel/hs-tf-random, High-quality splittable pseudorandom number generator

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.5nb4, Package name: hs-tf-random-0.5nb4, Maintainer: szptvlfn

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.


Required to run:
[devel/hs-random]

Master sites:

SHA1: 27eeae9eeeee8d4162a2646eeee0fd715f76cead
RMD160: bd58a02f7e68c4fd4e51591fa4ddad93d416d717
Filesize: 18.05 KB

Version history: (Expand)


CVS history: (Expand)


   2015-12-13 15:14:35 by Ryosuke Moro | Files touched by this commit (12) | Package updated
Log message:
Bump PKGREVISION for
hs-primitive-0.6.1.0 || hs-vector-0.11.0.0 || hs-mwc-random-0.13.3.2 || \ 
hs-vector-algorithms-0.7.0.1
   2015-11-03 04:29:40 by Alistair G. Crooks | Files touched by this commit (1995)
Log message:
Add SHA512 digests for distfiles for devel category

Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-05-09 13:22:26 by Ryosuke Moro | Files touched by this commit (18) | Package updated
Log message:
Because this error:
  ERROR: hs-primitive>=0.5.4 is not installed; can't buildlink files.
Bump PKGREVISION for hs-primitive-0.5.4.0
   2014-10-21 23:28:58 by Ryosuke Moro | Files touched by this commit (5) | Package updated
Log message:
Bump PKGREVISION for hs-random-1.1
   2014-08-29 16:08:42 by Ryosuke Moro | Files touched by this commit (61)
Log message:
make it clear what package depend on

discussed with wiz@.
   2014-08-28 23:56:27 by Ryosuke Moro | Files touched by this commit (2) | Package updated
Log message:
Bump PKGREVISION for hs-random-1.0.1.3
   2014-05-29 00:02:11 by Ryosuke Moro | Files touched by this commit (5)
Log message:
Import tf-random-0.5 as devel/hs-tf-random,
packaged for wip.

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.