Skip to content

hmacBase64

hmacBase64(data, key, algorithm) → string · Security

Computes HMAC and returns the result as Base64-encoded string. See Chapter 38.

  • data (required): the message to authenticate

  • key (required): the secret key

  • algorithm (required): hash algorithm (e.g., "SHA-256")

utlx
{
  signature: hmacBase64($input.payload, env("SECRET"), "SHA-256")
}

Released under AGPL-3.0.