Encoding
This reference provides the sample filters for encoding in Liquid expressions.
Encoding
You can use the following filters for encoding:
- md5: Convert to MD5.
- sha1: Convert to SHA1.
- sha2: Convert to SHA256/SHA384/SHA512.
- sha256_encode64: Convert to SHA256 with base 64.
- base64_encode: Encode in base 64.
- base64_decode: Decode in base 64.
- unpack: Convert to hex.
- pack: Convert from hex.
- utf_8_encoding: Convert to UTF-8 encoding.