cardano-crypto-class-2.0.0: Type classes abstracting over cryptography primitives for Cardano
Safe HaskellNone
LanguageHaskell2010

Cardano.Crypto.Hash.Short

Description

Implementation of short hashing algorithm, suitable for testing as it's not very collision-resistant.

Documentation

data MD5Prefix (n :: Nat) Source #

Instances

Instances details
(KnownNat n, CmpNat n 33 ~ 'LT) => HashAlgorithm (MD5Prefix n) Source # 
Instance details

Defined in Cardano.Crypto.Hash.Short

Associated Types

type SizeHash (MD5Prefix n) :: Nat Source #

type SizeHash (MD5Prefix n) Source # 
Instance details

Defined in Cardano.Crypto.Hash.Short

type SizeHash (MD5Prefix n) = n