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

Safe HaskellNone
LanguageHaskell98

Data.Digest.OpenSSL.AlternativeHMAC

Synopsis

Documentation

unsafeHMAC Source #

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

showHMAC Source #

Arguments

:: ByteString

the HMAC

-> String

the hex-string representation

Get the hex-string representation of an HMAC

sha :: CryptoHashFunction Source #

Name of the SHA digest, used by getDigestByName

sha1 :: CryptoHashFunction Source #

Name of the SHA1 digest, used by getDigestByName

sha224 :: CryptoHashFunction Source #

Name of the SHA224 digest, used by getDigestByName

sha256 :: CryptoHashFunction Source #

Name of the SHA256 digest, used by getDigestByName

sha384 :: CryptoHashFunction Source #

Name of the SHA384 digest, used by getDigestByName

sha512 :: CryptoHashFunction Source #

Name of the SHA384 digest, used by getDigestByName