mac
Message authentication code function.
Return
the message authentication code.
Parameters
algorithm
key
the secret key.
message
the message to authenticate.
Throws
if the given algorithm is not supported.
Message authentication code function.
the message authentication code.
the secret key.
the message to authenticate.
if the given algorithm is not supported.