--- url: https://developer.youcan.shop/themes/filters/strings/hmacSha1.md --- # 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' }} ``` ::: tip Output ```html 459f11edd0a43820ab7b567bca863647c8552e2a ``` :::