HUGO
Menu
GitHub 89803 stars Mastodon

crypto.MD5

Returns the MD5 checksum of the given input, encoded to a hexadecimal string.
Syntax
crypto.MD5 INPUT
Returns
string
Alias
md5
{{ md5 "Hello world" }} → 3e25960a79dbc69b674cd4ec67a72c62

This can be useful if you want to use Gravatar for generating a unique avatar:

<img src="https://www.gravatar.com/avatar/{{ md5 "your@email.com" }}?s=100&d=identicon">