Whatever message this page gives is out now! Go check it out!
HMac(message, key [,algorithm] [,encoding])Parameter | Required\Optional | Description |
message | Required | The message to transmit. The message can be a String or a byte array. |
key | Required | The secret key to create HMAC. The key can be a String or a byte array. |
algorithm | Optional | The hash algorithm to use. The following is a list of HMAC algorithms:
|
encoding | Optional | The character encoding to use. |
<cfscript>
x=hmac("Hi There","key1","HMACRIPEMD160")
writeOutput(x) // 4E1A31DD8A26BDB9344D391D44DDCA9B28F10739
</cfscript>