License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | unknown |
Safe Haskell | Trustworthy |
Language | Haskell98 |
Crypto.Hash.RIPEMD160
Description
A module containing RIPEMD160 bindings
- newtype Ctx = Ctx ByteString
- init :: Ctx
- update :: Ctx -> ByteString -> Ctx
- updates :: Ctx -> [ByteString] -> Ctx
- finalize :: Ctx -> ByteString
- hash :: ByteString -> ByteString
- hashlazy :: ByteString -> ByteString
Documentation
Incremental hashing Functions
update :: Ctx -> ByteString -> Ctx
update a context with a bytestring
updates :: Ctx -> [ByteString] -> Ctx
updates a context with multiples bytestring
finalize :: Ctx -> ByteString
finalize the context into a digest bytestring
Single Pass hashing
hash :: ByteString -> ByteString
hash a strict bytestring into a digest bytestring
hashlazy :: ByteString -> ByteString
hash a lazy bytestring into a digest bytestring