md5.md (648B)
1 ---
2 title: md5
3 linktitle: md5
4 description: hashes the given input and returns its MD5 checksum.
5 date: 2017-02-01
6 publishdate: 2017-02-01
7 lastmod: 2017-02-01
8 categories: [functions]
9 menu:
10 docs:
11 parent: "functions"
12 keywords: []
13 signature: ["md5 INPUT"]
14 workson: []
15 hugoversion:
16 relatedfuncs: [sha]
17 deprecated: false
18 aliases: []
19 ---
20
21 ```
22 {{ md5 "Hello world, gophers!" }}
23 <!-- returns the string "b3029f756f98f79e7f1b7f1d1f0dd53b" -->
24 ```
25
26 This can be useful if you want to use [Gravatar](https://en.gravatar.com/) for generating a unique avatar:
27
28 ```
29 <img src="https://www.gravatar.com/avatar/{{ md5 "your@email.com" }}?s=100&d=identicon">
30 ```