HORIZON HASKELLDocslts/ghc-10.0.x8fef28d2026-11-02Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 8fef28d · 2026-11-02

Modulecryptonite-0.30Haskell2010

Crypto.Random.Entropy.Unsafe

Synopsis
  • Packagecryptonite-0.30
  • 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