_Added in 2.3_
*$hmac(text|&binvar|filename, [key], [hash], [N])*
Returns an HMAC (keyed-Hash Message Authentication Code) based on the supplied key.
_See also [[$hotp]], [[$totp]]._
*Parameters*
table(ktable).
|*Parameter*|*Description*|
| text
; calculate the sha1 hmac hash for the text 'Hello World' using the key 'test'. //echo -ag The sha1 hmac for Hello World is $hmac(Hello World, test, sha1)