Hoogle Search
Within LTS Haskell 22.21 (ghc-9.6.5)
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)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
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
randomByteString :: Int -> IO ByteStringsaltine Crypto.Saltine.Core.Utils Build a sized random ByteString using Sodium's bindings to devurandom.
randomByteString :: Int -> IO ByteStringsaltine Crypto.Saltine.Internal.Util Build a sized random ByteString using Sodium's bindings to devurandom.
Page 1 of many | Next