HMAC algorithm.
Finalizes the HMAC computation. Note that the finalize operation is effectively a destructive, read-once operation.
var hmac = hmacHasher.finalize();var hmac = hmacHasher.finalize('message');var hmac = hmacHasher.finalize(wordArray);
(Optional) A final message update.
The HMAC.
Resets this HMAC to its initial state.
hmacHasher.reset();
Updates this HMAC with a message.
hmacHasher.update('message');hmacHasher.update(wordArray);
The message to append.
This HMAC instance.
Initializes a newly created HMAC.
var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
The hash algorithm to use.
The secret key.
Generated using TypeDoc
HMAC algorithm.