summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/crypto/SHA256.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/crypto/SHA256.md')
-rw-r--r--docs/content/en/functions/crypto/SHA256.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/content/en/functions/crypto/SHA256.md b/docs/content/en/functions/crypto/SHA256.md
new file mode 100644
index 000000000..3019432d2
--- /dev/null
+++ b/docs/content/en/functions/crypto/SHA256.md
@@ -0,0 +1,25 @@
+---
+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
+```