hugo/content/en/functions/crypto/MD5.md
Bjørn Erik Pedersen 9b0050e9aa Squashed 'docs/' content from commit 5c085a37b
git-subtree-dir: docs
git-subtree-split: 5c085a37b297bf12f59efeaae591418ec025c10d
2024-01-27 10:48:33 +01:00

680 B

title description categories keywords action aliases
crypto.MD5 Hashes the given input and returns its MD5 checksum encoded to a hexadecimal string.
aliases related returnType signatures
md5
functions/crypto/FNV32a
functions/crypto/HMAC
functions/crypto/SHA1
functions/crypto/SHA256
string
crypto.MD5 INPUT
/functions/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">