Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add digest filters to our Liquid engine #2516

Merged
merged 2 commits into from Mar 29, 2019
Merged

Add digest filters to our Liquid engine #2516

merged 2 commits into from Mar 29, 2019

Conversation

knu
Copy link
Member

@knu knu commented Mar 28, 2019

These filters are not part of the vanilla Liquid, but Shopify provides them in their own service.

  • md5
  • sha1
  • sha256
  • hmac_sha1
  • hmac_sha256

They are useful when you need a unique digest value for a data item or when checking the integrity of external data.

Copy link
Collaborator

@dsander dsander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 😄

@knu knu merged commit 0d41108 into master Mar 29, 2019
@knu knu deleted the digest_filters branch March 29, 2019 11:50
@virtadpt
Copy link
Collaborator

Woo-hoo! HMAC functions at last!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants