Crypto.MAC.HMAC

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

License | BSD-style
Maintainer | Vincent Hanquez <vincent@snarc.org>
Stability | experimental
Portability | unknown
Safe Haskell | Trustworthy
Language | Haskell98

Crypto.MAC.HMAC

Description

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

Synopsis

- hmac :: (ByteString -> ByteString) -> Int -> ByteString -> ByteString -> ByteString

# Documentation

hmac :: (ByteString -> ByteString) -> Int -> ByteString -> ByteString -> ByteString

compute a MAC using the supplied hashing function