cryptonite-conduit-0.2.2: cryptonite conduit
LicenseBSD-style
MaintainerVincent Hanquez <[email protected]>
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell98

Crypto.MAC.HMAC.Conduit

Description

A module containing Conduit facilities for hmac based functions.

Synopsis

Cryptographic hash functions

sinkHMAC :: forall (m :: Type -> Type) key hash o. (Monad m, ByteArrayAccess key, HashAlgorithm hash) => key -> ConduitM ByteString o m (HMAC hash) Source #

A Sink that calculates HMAC of a stream of ByteStrings and returns digest d.