crypto-api-0.1.2.1: A generic interface for cryptographic operations

Portabilityportable
Stabilitybeta
MaintainerThomas.DuBuisson@gmail.com

Crypto.HMAC

Description

 

Synopsis

Documentation

hmac :: Hash c d => MacKey -> ByteString -> dSource

Message authentication code calculation for lazy bytestrings. hmac k msg will compute an authentication code for msg using key k

hmac' :: Hash c d => MacKey -> ByteString -> dSource

hmac k msg will compute an authentication code for msg using key k

newtype MacKey Source

Constructors

MacKey ByteString 

Instances