gini-crypto-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Gini.Crypto.Types

Contents

Synopsis

Documentation

type Blake2b_40 = Blake2b 40 #

newtype CryptoConfig #

Configuration value used by the entire gini-crypto package.

Constructors

CryptoConfig 

Fields

class HasCryptoConfig env where #

An environment which contains a CryptoConfig.

Minimal complete definition

cryptoConfigL

Methods

cryptoConfigL :: Lens' env CryptoConfig #

Lens to get or set the CryptoConfig

Orphan instances

ByteArrayAccess ShortByteString # 
Instance details

(PrimType a, Prim a) => ByteArrayAccess (PrimArray a) # 
Instance details

Methods

length :: PrimArray a -> Int #

withByteArray :: PrimArray a -> (Ptr p -> IO a0) -> IO a0 #

copyByteArrayToPtr :: PrimArray a -> Ptr p -> IO () #