crypton-conduit-0.2.3: crypton conduit
LicenseBSD-style
MaintainerVincent Hanquez <vincent@snarc.org>
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Crypto.MAC.HMAC.Conduit

Description

A module containing Conduit facilities for hmac based functions.

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

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.