FunctionsHash & Crypto
hmac
Computes a keyed digest over the message and returns lowercase hex. Accepted algorithms: sha256 (default), sha1, sha224, sha384, sha512, sha512_256, md5, keccak256, and crc32. The block size follow…
hmac(…) → StringKind · scalar
Computes a keyed digest over the message and returns lowercase hex. Accepted algorithms: sha256 (default), sha1, sha224, sha384, sha512, sha512_256, md5, keccak256, and crc32. The block size follows the underlying hash (64 for md5/sha1/sha224/sha256, 128 for the sha512 family, 136 for keccak256), so hmac(msg, key, 'sha256') matches the RFC 4231 test vectors.
Part of the Hash & Crypto family.