mirror of
				https://github.com/gohugoio/hugo.git
				synced 2024-05-11 05:54:58 +00:00 
			
		
		
		
	Merge commit 'ec4e6f9df2ab9ffdc62a3f59675369096e0d3f77' as 'docs'
This commit is contained in:
		
							
								
								
									
										33
									
								
								docs/content/functions/md5.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										33
									
								
								docs/content/functions/md5.md
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
---
 | 
			
		||||
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: []
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
{{ 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:
 | 
			
		||||
 | 
			
		||||
```
 | 
			
		||||
<img src="https://www.gravatar.com/avatar/{{ md5 "your@email.com" }}?s=100&d=identicon">
 | 
			
		||||
```
 | 
			
		||||
		Reference in New Issue
	
	Block a user