hmac_sha256
{% assign signature = "message body" | hmac_sha256: "secret_key" %}
{% log signature %}Syntax
{{ message | hmac_sha256: key }}
{{ message | hmac_sha256: key, encoding }}Parameter
Description
Return Value
Examples
{% assign signature = request.body | hmac_sha256: "my_secret" %}
{% log signature %}a1b2c3d4e5f6...Notes
Last updated