Safe Haskell | Safe-Infered |
---|
Crypto-related helper functions.
- type HashKey = [Word8]
- stringToWord8 :: String -> HashKey
- word8ToString :: HashKey -> String
- computeMac :: HashKey -> Maybe String -> String -> String
- verifyMac :: HashKey -> Maybe String -> String -> String -> Bool
Documentation
stringToWord8 :: String -> HashKeySource
word8ToString :: HashKey -> StringSource
computeMac :: HashKey -> Maybe String -> String -> StringSource
Computes the HMAC for a given key/test and salt.