Skip to content
Zotonic
  • Start
  • Cookbook
  • Reference
  • Releases

Live search

Search across all Zotonic content

Type at least two characters

Results are matched against titles, summaries and topics as you type.

Filters · mod_base
  • Reference
  • Frontend developer
  • Template filter
  • Transform
  • Identifier

md5

Module

mod_base

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

Related documentation

Filters

slugify

Converts a text into a slug.

Filters

as_atom

Convert a value to an Erlang atom.

Filters

sha1

Translate a string to a sha1 hex value.

Filters

gravatar_code

Calculate the gravatar code for an e-mail address:

Filters

to_name

Map a string to a name . That is a lowercased string with only [a-z0-9_] characters.

Filters

floor

Round down a floating point value.

Filters

to_boolean

Convert the input to a boolean value.

Filters

language_sort_localized

Sort a list of language codes or map with languages on their localized name in the currently selected language. This is useful for…

Filters

truncatechars

Truncate a text to a maximum length in characters.

GitHub © 2026 Zotonic