Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Entropy based on the getrandom system call on Linux.
Synopsis
- getEntropy :: BYTES Int -> Ptr Word8 -> IO (BYTES Int)
- entropySource :: String
Documentation
getEntropy :: BYTES Int -> Ptr Word8 -> IO (BYTES Int) Source #
Get random bytes from using the getrandom
system call on
linux. This is only used to seed the PRG and not intended for call
by others.
entropySource :: String Source #
The name of the source from which entropy is gathered. For information purposes only.