cardano-sl-0.4.3: Cardano SL main implementation

Safe HaskellNone
LanguageHaskell2010

Pos.Crypto.Arbitrary

Contents

Description

Arbitrary instances for using in tests and benchmarks

Documentation

Orphan instances

Arbitrary PassPhrase Source # 
Arbitrary HDPassphrase Source # 
Arbitrary PublicKey Source # 
Arbitrary SecretKey Source # 
Arbitrary SignTag Source # 
Arbitrary VssPublicKey Source # 
Arbitrary VssKeyPair Source # 
Arbitrary Secret Source # 
Arbitrary Share Source # 

Methods

arbitrary :: Gen Share #

shrink :: Share -> [Share] #

Arbitrary EncShare Source # 
Arbitrary SecretSharingExtra Source # 
Arbitrary SecretProof Source # 
Arbitrary RedeemPublicKey Source # 
Arbitrary RedeemSecretKey Source # 
Nonrepeating PublicKey Source # 
Nonrepeating SecretKey Source # 
Nonrepeating VssPublicKey Source # 
Nonrepeating VssKeyPair Source # 
Nonrepeating RedeemPublicKey Source # 
Nonrepeating RedeemSecretKey Source # 
(Bi a, Arbitrary a) => Arbitrary (Signature a) Source # 

Methods

arbitrary :: Gen (Signature a) #

shrink :: Signature a -> [Signature a] #

(Bi a, Arbitrary a) => Arbitrary (Signed a) Source # 

Methods

arbitrary :: Gen (Signed a) #

shrink :: Signed a -> [Signed a] #

(Bi w, Arbitrary w) => Arbitrary (ProxyCert w) Source # 

Methods

arbitrary :: Gen (ProxyCert w) #

shrink :: ProxyCert w -> [ProxyCert w] #

(Bi w, Arbitrary w) => Arbitrary (ProxySecretKey w) Source # 
(Bi a, Arbitrary a) => Arbitrary (RedeemSignature a) Source # 
Arbitrary (AsBinary VssPublicKey) Source # 
Arbitrary (AsBinary Secret) Source # 
Arbitrary (AsBinary Share) Source # 
Arbitrary (AsBinary EncShare) Source # 
Arbitrary (AsBinary SecretSharingExtra) Source # 
Arbitrary (AsBinary SecretProof) Source # 
(Bi w, Arbitrary w, Bi a, Arbitrary a) => Arbitrary (ProxySignature w a) Source # 
(HashAlgorithm algo, Bi a) => Arbitrary (AbstractHash algo a) Source # 

Methods

arbitrary :: Gen (AbstractHash algo a) #

shrink :: AbstractHash algo a -> [AbstractHash algo a] #