Hoogle Search
Within LTS Haskell 23.22 (ghc-9.8.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
No documentation available.
-
No documentation available.
-
This module is for instantiating cryptographicly strong determinitic random bit generators (DRBGs, aka PRNGs) For the simple use case of using the system random number generator (Entropy) to seed the DRBG:
g <- newGenIO
Users needing to provide their own entropy can call newGen directlyentropy <- getEntropy nrBytes let generator = newGen entropy
-
No documentation available.
randomBytesGenerate :: (DRG gen, ByteArray byteArray) => Int -> gen -> (byteArray, gen)crypton Crypto.Random Generate N bytes of randomness from a DRG
randomBytesGenerate :: (DRG gen, ByteArray byteArray) => Int -> gen -> (byteArray, gen)crypton Crypto.Random.Types Generate N bytes of randomness from a DRG
randomBytesGenerate :: (DRG gen, ByteArray byteArray) => Int -> gen -> (byteArray, gen)cryptonite Crypto.Random Generate N bytes of randomness from a DRG
randomBytesGenerate :: (DRG gen, ByteArray byteArray) => Int -> gen -> (byteArray, gen)cryptonite Crypto.Random.Types Generate N bytes of randomness from a DRG
randomBS :: CryptoRandomGen g => g -> Int -> (ByteString, g)RSA Codec.Crypto.RSA.Exceptions Generate a random ByteString of the given length
randomNZBS :: CryptoRandomGen g => g -> Int -> (ByteString, g)RSA Codec.Crypto.RSA.Exceptions Create a random bytestring of non-zero bytes of the given length.
Page 1 of many | Next