sel-0.0.1.0: Cryptography for the casual user
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sel.HMAC

Description

HMAC provides a way to both encrypt a communication and authenticate its origin.

This relies on a shared pair of secret keys between all the parties

The function computing the tag deterministic: the same (message, key) tuple will always produce the same output. However, even if the message is public, knowing the key is required in order to be able to compute a valid tag. Therefore, the key should remain confidential. The tag, however, can be public.

The following keyed message authentication codes are availabled: