crypto.Hmac()
Description
Creates an instance of Hmac.
Syntax
new crypto.Hmac(algorithm, key)
Parameters
new crypto.Hmac(algorithm, key)
algorithmkey
A string containing the name of the digest algorithm.
A string or a Data object containing the key for HMAC calculation.
Return Value
A Hmac object using the specified digest algorithm and key.