Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Cardano.Crypto.Hash.Short
Description
Implementation of short hashing algorithm, suitable for testing.
Documentation
type ShortHash = Blake2bPrefix 8 Source #
data Blake2bPrefix (n ∷ Nat) Source #
Instances
(KnownNat n, CmpNat n 33 ~ 'LT) ⇒ HashAlgorithm (Blake2bPrefix n) Source # | |
Defined in Cardano.Crypto.Hash.Short Associated Types type SizeHash (Blake2bPrefix n) ∷ Nat Source # Methods hashAlgorithmName ∷ proxy (Blake2bPrefix n) → String Source # digest ∷ proxy (Blake2bPrefix n) → ByteString → ByteString Source # | |
type SizeHash (Blake2bPrefix n) Source # | |
Defined in Cardano.Crypto.Hash.Short |