crypto-random-0.0.9: Simple cryptographic random related types

LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
PortabilityGood
Safe HaskellNone
LanguageHaskell98

Crypto.Random.Test

Description

Provide way to test usual simple statisticals test for randomness

Synopsis

Documentation

data RandomTestState Source #

Mutable random test State

data RandomTestResult Source #

Randomness various result relative to random bytes

Constructors

RandomTestResult 

Fields

randomTestInitialize :: IO RandomTestState Source #

Initialize new state to run tests

randomTestAppend :: RandomTestState -> ByteString -> IO () Source #

Append random data to the test state

randomTestFinalize :: RandomTestState -> IO RandomTestResult Source #

Finalize random test state into some result