License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | unknown |
Safe Haskell | Trustworthy |
Language | Haskell98 |
A module containing Tiger bindings
- newtype Ctx = Ctx (Context Tiger)
- 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 Source
update a context with a bytestring
updates :: Ctx -> [ByteString] -> Ctx Source
updates a context with multiples bytestring
finalize :: Ctx -> ByteString Source
finalize the context into a digest bytestring
Single Pass hashing
hash :: ByteString -> ByteString Source
hash a strict bytestring into a digest bytestring
hashlazy :: ByteString -> ByteString Source
hash a lazy bytestring into a digest bytestring