cryptohash-0.11.6: collection of crypto hashes, fast, pure and practical

Portabilityunknown
Stabilityexperimental
MaintainerVincent Hanquez <vincent@snarc.org>
Safe HaskellTrustworthy

Crypto.MAC.HMAC

Description

provide the HMAC (Hash based Message Authentification Code) base algorithm. http://en.wikipedia.org/wiki/HMAC

Synopsis

Documentation

hmacSource

Arguments

:: (ByteString -> ByteString)

hash function

-> Int

block size

-> ByteString

secret

-> ByteString

message

-> ByteString 

compute a MAC using the supplied hashing function

An incremental API can be found in the module Crypto.Hash.