Lava Filters - HmacSha256

Category:Other

Description:Converts a string into a SHA-256 hash using a hash message authentication code (HMAC).
Input:
Lava: {% assign my_secret_string = 'RockIsAwesome!' | HmacSha256:'secret_key' %} My encoded string is: {{ my_secret_string }}
Output: My encoded string is: 3518d7aa4ad81041e14033f2bbfa317e8f2f5aa26d6f48f719783aeaebe481ae