Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
PRNG services See http://www.openssl.org/docs/crypto/rand.html For random Integer generation, see OpenSSL.BN
Synopsis
- randBytes :: Int -> IO ByteString
- prandBytes :: Int -> IO ByteString
- add :: ByteString -> Int -> IO ()
Random byte generation
:: Int | the number of bytes requested |
-> IO ByteString |
Return a bytestring consisting of the given number of strongly random bytes
:: Int | the number of bytes requested |
-> IO ByteString |
Return a bytestring consisting of the given number of pseudo random bytes