mirror of
https://github.com/gohugoio/hugo.git
synced 2025-02-28 10:21:48 +00:00
25 lines
527 B
Markdown
25 lines
527 B
Markdown
---
|
|
title: crypto.SHA256
|
|
linkTitle: sha256
|
|
description: Hashes the given input and returns its SHA256 checksum.
|
|
categories: [functions]
|
|
keywords: []
|
|
menu:
|
|
docs:
|
|
parent: functions
|
|
function:
|
|
aliases: [sha256]
|
|
returnType: string
|
|
signatures: [crypto.SHA256 INPUT]
|
|
relatedFunctions:
|
|
- crypto.FNV32a
|
|
- crypto.HMAC
|
|
- crypto.MD5
|
|
- crypto.SHA1
|
|
- crypto.SHA256
|
|
aliases: [/functions/sha256]
|
|
---
|
|
|
|
```go-html-template
|
|
{{ sha256 "Hello world" }} → 64ec88ca00b268e5ba1a35678a1b5316d212f4f366b2477232534a8aeca37f3c
|
|
```
|