Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
newtype PrivateKey Source #
sign :: PrivateKey -> ByteString -> IO Signature Source #
fromByteString :: ByteString -> Maybe (Hash a) Source #
unsafeFromByteString :: ByteString -> Hash a Source #
data HashTreeRoot a Source #
Eq (HashTreeRoot a) Source # | |
Ord (HashTreeRoot a) Source # | |
Show (HashTreeRoot a) Source # | |
ToJSON (HashTreeRoot a) Source # | |
FromJSON (HashTreeRoot a) Source # | |
unHashTreeRoot :: HashTreeRoot a -> Hash a Source #
hashTreeRoot :: forall a. ToHash a => [a] -> HashTreeRoot a Source #