hugo/docs/content/en/functions/md5.md
2023-05-22 16:47:07 +02:00

535 B

title description categories menu keywords signature relatedfuncs
md5 hashes the given input and returns its MD5 checksum.
functions
docs
parent
functions
md5 INPUT
sha
{{ md5 "Hello world, gophers!" }}
<!-- returns the string "b3029f756f98f79e7f1b7f1d1f0dd53b" -->

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">