License | BSD-style |
---|---|
Maintainer | Vincent Hanquez <vincent@snarc.org> |
Stability | experimental |
Portability | unknown |
Safe Haskell | None |
Language | Haskell98 |
Crypto.Hash.Conduit
Contents
Description
A module containing Conduit facilities for hash based functions.
this module is vaguely similar to the crypto-conduit part related to hash on purpose, as to provide an upgrade path. The api documentation is pulled directly from this package and adapted, and thus are originally copyright Felipe Lessa.
Cryptographic hash functions
sinkHash :: forall (m :: Type -> Type) hash. (Monad m, HashAlgorithm hash) => Consumer ByteString m (Digest hash) Source #
A Sink
that hashes a stream of ByteString
s
and
creates a digest d
.