Safe Haskell | None |
---|---|
Language | Haskell2010 |
Custom cryptographic hash constructions used by Bitcoin.
Synopsis
- check32 :: ByteString -> ByteString
- hash160 :: ByteString -> ByteString
- hash256 :: ByteString -> ByteString
Bitcoin constructions
:: ByteString | Data to hash. |
-> ByteString | 32-bit long digest. |
:: ByteString | Data to hash. |
-> ByteString | 160-bit long digest. |
:: ByteString | Data to hash. |
-> ByteString | 256-bit long digest. |