Copyright | © 2018-2020 IOHK |
---|---|
License | Apache-2.0 |
Safe Haskell | None |
Language | Haskell2010 |
Types and functions relating to hash values.
Synopsis
- newtype Hash (tag :: Symbol ) = Hash { }
- hashFromText :: forall t. KnownSymbol t => Int -> Text -> Either TextDecodingError ( Hash t)
- mockHash :: Show a => a -> Hash whatever
Documentation
newtype Hash (tag :: Symbol ) Source #
Instances
:: forall t. KnownSymbol t | |
=> Int |
Expected decoded hash length |
-> Text | |
-> Either TextDecodingError ( Hash t) |