ref: 73273d4e8138ca7ac60e8201618b1b81da64e92b
dir: /docs/content/functions/md5.md/
--- title: md5 linktitle: md5 description: hashes the given input and returns its MD5 checksum. godocref: date: 2017-02-01 publishdate: 2017-02-01 lastmod: 2017-02-01 categories: [functions] menu: docs: parent: "functions" #tags: [] signature: ["md5 INPUT"] workson: [] hugoversion: relatedfuncs: [] deprecated: false aliases: [] --- ```html {{ md5 "Hello world, gophers!" }} <!-- returns the string "b3029f756f98f79e7f1b7f1d1f0dd53b" --> ``` This can be useful if you want to use [Gravatar](https://en.gravatar.com/) for generating a unique avatar: ```html <img src="https://www.gravatar.com/avatar/{{ md5 "[email protected]" }}?s=100&d=identicon"> ```