Skip to content

Hmac Sha1 ​

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

liquid
{{ string | hmac_sha1: key }}

Example ​

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

Output

html
459f11edd0a43820ab7b567bca863647c8552e2a