gamgee-1.2.2: Tool for generating TOTP MFA tokens.
Safe HaskellNone
LanguageHaskell2010

Gamgee.Effects.CryptoRandom

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

Instances details
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