HORIZON HASKELLDocslts/ghc-9.14.x99ffbb82026-10-19Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 99ffbb8 · 2026-10-19

Modulecrypton-1.0.6Haskell2010

Crypto.Random.Entropy.Unsafe

Synopsis
  • Packagecrypton-1.0.6
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceUnsafe.hs
valuereplenish :: Int -> [EntropyBackend] -> Ptr Word8 -> IO ()

Refill the entropy in a buffer

Call each entropy backend in turn until the buffer has been replenished.

If the buffer cannot be refill after 3 loopings, this will raise an User Error exception