hugo/docs/content/en/functions/crypto/MD5.md
2023-10-20 09:43:56 +02:00

685 B

title linkTitle description categories keywords menu function relatedFunctions aliases
crypto.MD5 md5 hashes the given input and returns its MD5 checksum.
functions
docs
parent
functions
aliases returnType signatures
md5
string
crypto.MD5 INPUT
crypto.FNV32a
crypto.HMAC
crypto.MD5
crypto.SHA1
crypto.SHA256
/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">