md5

Translates a string to a md5 hex value.

For example:

{{ "The quick brown fox jumps over the lazy dog"|md5 }}

Creates:

9E107D9D372BB6826BD81D3542A419D6

Note that MD5 is not considered to be a very safe encryption algorithm.

Edit on GitHub

Encryption sha1

Referred by

Filters

Filters transform template variables before they are rendered.