Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 type SizeHash (Blake2bPrefix n) :: Nat Source # hashAlgorithmName :: proxy (Blake2bPrefix n) -> String Source # digest :: proxy (Blake2bPrefix n) -> ByteString -> ByteString Source # | |
type SizeHash (Blake2bPrefix n) Source # | |
Defined in Cardano.Crypto.Hash.Short |