mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-14 20:37:55 -05:00
5fd1e74903
``` git subtree add --prefix=docs/ https://github.com/gohugoio/hugoDocs.git master --squash ``` Closes #11925
20 lines
517 B
Markdown
20 lines
517 B
Markdown
---
|
|
title: crypto.SHA256
|
|
description: Hashes the given input and returns its SHA256 checksum encoded to a hexadecimal string.
|
|
categories: []
|
|
keywords: []
|
|
action:
|
|
aliases: [sha256]
|
|
related:
|
|
- functions/crypto/FNV32a
|
|
- functions/crypto/HMAC
|
|
- functions/crypto/MD5
|
|
- functions/crypto/SHA1
|
|
returnType: string
|
|
signatures: [crypto.SHA256 INPUT]
|
|
aliases: [/functions/sha256]
|
|
---
|
|
|
|
```go-html-template
|
|
{{ sha256 "Hello world" }} → 64ec88ca00b268e5ba1a35678a1b5316d212f4f366b2477232534a8aeca37f3c
|
|
```
|