Hmac()

Creates hash-based Message Authentication Code (HMAC) for the given string based on the algorithm and encoding, returning back the Base64 encoding

Usage

STRING = Hmac( message, key, algorithm, encoding )
Argument Summary
message the message to encode
key the key to use for the encoding
algorithm algorithm ('HmacMD5','HmacSHA1','HmacSHA256','HmacSHA384','HmacSHA512') defaults to HmacSHA1 [optional]
encoding encoding [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

Hmac(
   message=?, 
   key=?, 
   algorithm=?, 
   encoding=?
);

Supports passing parameters as a structure using ArgumentCollection:

Hmac( ArgumentCollection={
   message : ?, 
   key : ?, 
   algorithm : ?, 
   encoding : ?
} );