| |||||||
| |||||||
| Description | |||||||
| This module provides a cryptographically secure PRNG based on AES, reading the seed from devrandom | |||||||
| Synopsis | |||||||
| |||||||
| Documentation | |||||||
| randBytes :: Int -> IO ByteString | |||||||
| Randomness from a system source of nonsense such as devrandom | |||||||
| prandBytes :: Int -> IO ByteString | |||||||
| Cryptographic pseudorandomness from an AES cipher. This function is currently inefficient for non-multiple-of-16 sized bytestrings. | |||||||
| data AESGen | |||||||
| |||||||
| newAESGen :: IO AESGen | |||||||
| Produced by Haddock version 2.7.2 |