Class: HMACSHA256

qui.utils.crypto.HMACSHA256(key, dataopt)

A SHA256 HMAC implementation.

Constructor

new HMACSHA256(key, dataopt)

Parameters:
Name Type Attributes Default Description
key String | Array.<Number>

the HMAC key

data String | Array.<Number> <optional>
null

the data to hash

Source: