HORIZON HASKELLDocslts/ghc-9.10.xc74966e2026-09-27Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27

Modulecrypton-1.0.4Haskell2010

Crypto.Random.Types

  • 1 type
  • 2 classes
  • 1 value
  • Packagecrypton-1.0.4
  • Exports4
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceTypes.hs
newtypenewtype MonadPseudoRandom gen a
#

A simple Monad class very similar to a State Monad with the state being a DRG.

Instances4Monad, Functor, Applicative, MonadRandom
classclass DRG gen where
#

A Deterministic Random Generator (DRG) class

Methods

Instances3DRG
  • DRG ChaChaDRGDefined in crypton-1.0.4 · Crypto.Random.ChaChaDRG
  • DRG SystemDRGDefined in crypton-1.0.4 · Crypto.Random.SystemDRG
  • HashAlgorithm hash => DRG (HmacDRG hash)Defined in crypton-1.0.4 · Crypto.Random.HmacDRG