Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Low level source of random values for seeds. It should work on both unices and windows
Synopsis
- acquireSeedSystem :: forall a. Storable a => Int -> IO [a]
- acquireSeedTime :: IO [Word32]
- randomSourceName :: String
Documentation
acquireSeedSystem :: forall a. Storable a => Int -> IO [a] Source #
Acquire seed from the system entropy source. On Unix machines,
this will attempt to use devurandom
. On Windows, it will internally
use RtlGenRandom
.
acquireSeedTime :: IO [Word32] Source #
randomSourceName :: String Source #
Name of source of randomness. It should be used in error messages