libghc-cprng-aes-dev

Pseudo-random number generator using aes in counter mode
  http://github.com/vincenthz/hs-cprng-aes
  0
  no reviews



It contains a 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).

this package provides a library for the haskell programming language. see http://www.haskell.org/ for more information on haskell.