Class: hmac

sjcl.misc.hmac

new hmac(key, Hashopt)

HMAC with the specified hash function.
Parameters:
Name Type Attributes Default Description
key bitArray the key for HMAC.
Hash Object <optional>
sjcl.hash.sha256 The hash function to use.
Source:

Members

encrypt

HMAC with the specified hash function. Also called encrypt since it's a prf.
Source: