sha1
{%- assign secret_potion = 'Polyjuice' | sha1 -%}
My secret potion: {{ secret_potion }}
Code
{%- assign secret_potion = 'Polyjuice' | sha1 -%}
My secret potion: {{ secret_potion }}Output
My secret potion: bd0ca3935467e5238d7662ada4df899f09b70d5a
Output
My secret potion: bd0ca3935467e5238d7662ada4df899f09b70d5aWas this page helpful?