Skip to main content

util.hmac()

Synchronous HMAC signature. Payload: at most 5242880 bytes; secret: at most 65536 UTF-8 bytes. Invalid types/options throw TypeError; size/range throws RangeError.

Signature

Example

See all util methods or runtime basics.
Last modified on November 8, 2026