Safe Haskell | None |
---|---|
Language | Haskell2010 |
Cryptographic hash primitives used by Bitcoin.
Synopsis
- ripemd160 :: ByteString -> ByteString
- sha256 :: ByteString -> ByteString
- hmacSHA512 :: ByteString -> ByteString -> ByteString
Hash
:: ByteString | Data to hash. |
-> ByteString | 20-byte long digest. |
:: ByteString | Data to hash. |
-> ByteString | 32-byte long digest. |
HMAC
:: ByteString | Key. |
-> ByteString | Data to hash. |
-> ByteString | 64-byte long digest. |