raaz-0.3.2: Fast and type safe cryptography.
Safe HaskellNone
LanguageHaskell2010

Tests.Core.Instances

Description

Some common instances that are required by the test cases.

Orphan instances

Arbitrary ByteString Source # 
Instance details

Arbitrary Base16 Source # 
Instance details

Arbitrary Base64 Source # 
Instance details

Arbitrary Blake2b Source # 
Instance details

Arbitrary Blake2s Source # 
Instance details

Arbitrary Poly1305 Source # 
Instance details

Arbitrary R Source # 
Instance details

Methods

arbitrary :: Gen R #

shrink :: R -> [R] #

Arbitrary S Source # 
Instance details

Methods

arbitrary :: Gen S #

shrink :: S -> [S] #

Arbitrary Sha256 Source # 
Instance details

Arbitrary Sha512 Source # 
Instance details

Arbitrary (Key ChaCha20) Source # 
Instance details

Arbitrary (Key XChaCha20) Source # 
Instance details

Arbitrary (Key Poly1305) Source # 
Instance details

Arbitrary (Key (Keyed prim)) Source # 
Instance details

Methods

arbitrary :: Gen (Key (Keyed prim)) #

shrink :: Key (Keyed prim) -> [Key (Keyed prim)] #

Arbitrary (BlockCount ChaCha20) Source # 
Instance details

Arbitrary (BlockCount XChaCha20) Source # 
Instance details

Arbitrary (Nounce ChaCha20) Source # 
Instance details

Arbitrary (Nounce XChaCha20) Source # 
Instance details

Arbitrary w => Arbitrary (BE w) Source # 
Instance details

Methods

arbitrary :: Gen (BE w) #

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

Arbitrary w => Arbitrary (LE w) Source # 
Instance details

Methods

arbitrary :: Gen (LE w) #

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

Arbitrary w => Arbitrary (BYTES w) Source # 
Instance details

Methods

arbitrary :: Gen (BYTES w) #

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