packages feed

cprng-aes 0.5.1 → 0.5.2

raw patch · 2 files changed

+13/−2 lines, 2 filesdep ~crypto-randomPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: crypto-random

API changes (from Hackage documentation)

Files

Crypto/Random/AESCtr.hs view
@@ -31,6 +31,17 @@ import Data.Byteable import Data.Bits (xor, (.&.)) +-- | AES Counter mode Pseudo random generator.+--+-- Provide a very good Cryptographic pseudo random generator+-- that create pseudo random output based an AES cipher+-- used in counter mode, initialized from random key, random IV+-- and random nonce.+--+-- This CPRG uses 64 bytes of pure entropy to create its random state.+--+-- By default, this generator will automatically reseed after generating+-- 1 megabyte of data. data AESRNG = AESRNG { aesrngState     :: RNG                      , aesrngEntropy   :: EntropyPool                      , aesrngThreshold :: Int -- ^ in number of generated block
cprng-aes.cabal view
@@ -1,5 +1,5 @@ Name:                cprng-aes-Version:             0.5.1+Version:             0.5.2 Description:              Simple crypto pseudo-random-number-generator with really good randomness property.     .@@ -35,7 +35,7 @@                    , bytestring                    , byteable                    , random-                   , crypto-random >= 0.0 && < 0.1+                   , crypto-random >= 0.0.7 && < 0.1   Exposed-modules:   Crypto.Random.AESCtr   Other-modules:     Crypto.Random.AESCtr.Internal   ghc-options:       -Wall