raaz-0.3.10: Fast and type safe cryptography.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Entropy

Description

Entropy based on the getrandom system call on Linux.

Synopsis

Documentation

getEntropy :: BYTES Int -> Ptr Word8 -> IO (BYTES Int) Source #

Get random bytes from using the getrandom system call on linux. This is only used to seed the PRG and not intended for call by others.

entropySource :: String Source #

The name of the source from which entropy is gathered. For information purposes only.