gamgee-1.2.0: Tool for generating TOTP MFA tokens.

Safe HaskellNone
LanguageHaskell2010

Gamgee.Effects.CryptoRandom

Contents

Synopsis

Effect

data CryptoRandom m a where Source #

An effect capable of providing random bytes for use with cryptonite

Constructors

RandomBytes :: ByteArray b => Int -> CryptoRandom m b

Generate random bytes

Instances
type DefiningModule (CryptoRandom :: k -> Type -> Type) Source # 
Instance details

Defined in Gamgee.Effects.CryptoRandom

type DefiningModule (CryptoRandom :: k -> Type -> Type) = "Gamgee.Effects.CryptoRandom"

Action

Interpretations