Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
RespSecretNotRandom :: ErrorPosition -> InspectionErrorcacophony Crypto.Noise.Validation No documentation available.
genSaltRandom :: RandomGen b => b -> (Salt, b)pwstore-fast Crypto.PasswordStore Generate a Salt with 128 bits of data taken from a given random number generator. Returns the salt and the updated random number generator. This is meant to be used with makePasswordSalt by people who would prefer to either use their own random number generator or avoid the IO monad.
c_randombytes_buf :: Ptr CChar -> CInt -> IO ()saltine Crypto.Saltine.Internal.Util No documentation available.
-
crypto-random-api Crypto.Random.API This is a simple generator that pull bytes from the system entropy directly. Its randomness and security properties are absolutely depends on the underlaying system implementation.
genRandomBytes :: CPRG g => Int -> g -> (ByteString, g)crypto-random-api Crypto.Random.API Generate bytes using the cprg in parameter. If the number of bytes requested is really high, it's preferable to use genRandomBytes for better memory efficiency.
genRandomBytes' :: CPRG g => Int -> g -> ([ByteString], g)crypto-random-api Crypto.Random.API Generate bytes using the cprg in parameter. This is not tail recursive and an excessive len (>= 2^29) parameter would result in stack overflow.
getSystemRandomGen :: IO SystemRandomcrypto-random-api Crypto.Random.API Get a random number generator based on the standard system entropy source
withRandomBytes :: CPRG g => g -> Int -> (ByteString -> a) -> (a, g)crypto-random-api Crypto.Random.API this is equivalent to using Control.Arrow first with genRandomBytes. namely it generate len bytes and map the bytes to the function f
getRandomValues :: (MonadDOM m, IsArrayBufferView array) => Crypto -> array -> m ArrayBufferViewjsaddle-dom JSDOM.Generated.Crypto getRandomValues_ :: (MonadDOM m, IsArrayBufferView array) => Crypto -> array -> m ()jsaddle-dom JSDOM.Generated.Crypto