openid-0.2.0.1: An implementation of the OpenID-2.0 spec.

Data.Digest.OpenSSL.AlternativeHMAC

Synopsis

Documentation

unsafeHMACSource

Arguments

:: CryptoHashFunction

the name of the digest

-> ByteString

the HMAC key

-> ByteString

the data to be signed

-> String

the hex-representation of the resulting HMAC

Wrapper/rendering function for hmac

showHMACSource

Arguments

:: ByteString

the HMAC

-> String

the hex-string representation

Get the hex-string representation of an HMAC

sha :: CryptoHashFunctionSource

Name of the SHA digest, used by getDigestByName

sha1 :: CryptoHashFunctionSource

Name of the SHA1 digest, used by getDigestByName

sha224 :: CryptoHashFunctionSource

Name of the SHA224 digest, used by getDigestByName

sha256 :: CryptoHashFunctionSource

Name of the SHA256 digest, used by getDigestByName

sha384 :: CryptoHashFunctionSource

Name of the SHA384 digest, used by getDigestByName

sha512 :: CryptoHashFunctionSource

Name of the SHA384 digest, used by getDigestByName