| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Data.Blockchain.Core.Crypto
Documentation
Constructors
| KeyPair | |
Fields | |
Constructors
| Signature | |
Fields | |
Constructors
| PublicKey | |
Fields | |
sign :: PrivateKey -> ByteString -> IO Signature Source #
fromByteString :: ByteString -> Maybe (Hash a) Source #
unsafeFromByteString :: ByteString -> Hash a Source #
data HashTreeRoot a Source #
Instances
| 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 #