Package Info

ghc-cprng-aes


Crypto Pseudo Random Number Generator using AES in counter mode


Unspecified

Simple crypto pseudo-random-number-generator with really good randomness property.

Using ent, a randomness property maker on one 1Mb sample: Entropy = 7.999837 bits per byte. Optimum compression would reduce the size of this 1048576 byte file by 0 percent. Chi square distribution for 1048576 samples is 237.02 Arithmetic mean value of data bytes is 127.3422 (127.5 = random) Monte Carlo value for Pi is 3.143589568 (error 0.06 percent)

Compared to urandom with the same sampling: Entropy = 7.999831 bits per byte. Optimum compression would reduce the size of this 1048576 byte file by 0 percent. Chi square distribution for 1048576 samples is 246.63 Arithmetic mean value of data bytes is 127.6347 (127.5 = random). Monte Carlo value for Pi is 3.132465868 (error 0.29 percent).


License: BSD-3-Clause
URL: https://hackage.haskell.org/package/cprng-aes

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.6.1-bp156.3.4 info GA Release 2024-02-21 15 SP6
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-cprng-aes
  • ghc-cprng-aes-devel
0.6.1-bp155.2.14 info GA Release 2023-05-22 15 SP5
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • ghc-cprng-aes
  • ghc-cprng-aes-devel
0.6.1-bp154.1.13 info GA Release 2022-05-09 15 SP4
  • AArch64
  • ppc64le
  • x86-64
  • ghc-cprng-aes
  • ghc-cprng-aes-devel
0.6.1-bp150.2.6 info GA Release 2018-07-31 15
  • AArch64
  • ppc64le
  • ghc-cprng-aes
  • ghc-cprng-aes-devel
0.6.1-bp150.2.7 info GA Release 2018-07-30 15
  • x86-64
  • ghc-cprng-aes
  • ghc-cprng-aes-devel
0.6.1-2.3 info 5585 2016-09-14 12 GA-SP5
  • AArch64
  • s390x
  • x86-64
  • ghc-cprng-aes
  • ghc-cprng-aes-devel
0.6.1-2.2 info 5585 2016-09-14 12 GA-SP5
  • ppc64le
  • ghc-cprng-aes
  • ghc-cprng-aes-devel