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.Types

Synopsis
  • Packagecrypton-1.0.6
  • 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.6 · Crypto.Random.ChaChaDRG
  • DRG SystemDRGDefined in crypton-1.0.6 · Crypto.Random.SystemDRG
  • HashAlgorithm hash => DRG (HmacDRG hash)Defined in crypton-1.0.6 · Crypto.Random.HmacDRG