Skip to content

Hmac Sha256 ​

Returns the HMAC SHA-256 hash of a string, with a secret key.

liquid
{{ string | hmac_sha256: key }}

Example ​

liquid
{{ 'youcan' | hmac_sha256: 'secret' }}

Output

html
1cda6376631cc189a3de5051680969550773c234456850c1266af5e5215b7569