diff options
Diffstat (limited to 'Types/Crypto.hs')
-rw-r--r-- | Types/Crypto.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Types/Crypto.hs b/Types/Crypto.hs index 1a9a7774a..48d03ce12 100644 --- a/Types/Crypto.hs +++ b/Types/Crypto.hs @@ -59,10 +59,10 @@ readMac "HMACSHA512" = Just HmacSha512 readMac _ = Nothing calcMac - :: Mac -- ^ MAC - -> L.ByteString -- ^ secret key - -> L.ByteString -- ^ message - -> String -- ^ MAC'ed message, in hexadecimals + :: Mac -- ^ MAC + -> L.ByteString -- ^ secret key + -> L.ByteString -- ^ message + -> String -- ^ MAC'ed message, in hexadecimal calcMac mac = case mac of HmacSha1 -> showDigest $* hmacSha1 HmacSha224 -> showDigest $* hmacSha224 |