mirror of https://github.com/gohugoio/hugo
17 lines
424 B
Markdown
17 lines
424 B
Markdown
---
|
|
title: crypto.SHA256
|
|
description: Hashes the given input and returns its SHA256 checksum encoded to a hexadecimal string.
|
|
categories: []
|
|
keywords: []
|
|
params:
|
|
functions_and_methods:
|
|
aliases: [sha256]
|
|
returnType: string
|
|
signatures: [crypto.SHA256 INPUT]
|
|
aliases: [/functions/sha256]
|
|
---
|
|
|
|
```go-html-template
|
|
{{ sha256 "Hello world" }} → 64ec88ca00b268e5ba1a35678a1b5316d212f4f366b2477232534a8aeca37f3c
|
|
```
|