summaryrefslogtreecommitdiffstats
path: root/docs/content/en/functions/crypto
diff options
context:
space:
mode:
Diffstat (limited to 'docs/content/en/functions/crypto')
-rw-r--r--docs/content/en/functions/crypto/FNV32a.md16
-rw-r--r--docs/content/en/functions/crypto/HMAC.md14
-rw-r--r--docs/content/en/functions/crypto/MD5.md14
-rw-r--r--docs/content/en/functions/crypto/SHA1.md14
-rw-r--r--docs/content/en/functions/crypto/SHA256.md14
-rw-r--r--docs/content/en/functions/crypto/_index.md7
6 files changed, 29 insertions, 50 deletions
diff --git a/docs/content/en/functions/crypto/FNV32a.md b/docs/content/en/functions/crypto/FNV32a.md
index 0255349a3..03bcc57e7 100644
--- a/docs/content/en/functions/crypto/FNV32a.md
+++ b/docs/content/en/functions/crypto/FNV32a.md
@@ -1,18 +1,18 @@
---
title: crypto.FNV32a
-description: Returns the 32-bit FNV (Fowler–Noll–Vo) non-cryptographic hash of the given string.
+description: Returns the 32-bit FNV (Fowler-Noll-Vo) non-cryptographic hash of the given string.
categories: []
keywords: []
-action:
- aliases: []
- related: []
- returnType: int
- signatures: [crypto.FNV32a STRING]
+params:
+ functions_and_methods:
+ aliases: []
+ returnType: int
+ signatures: [crypto.FNV32a STRING]
expiryDate: 2026-07-31 # deprecated 2024-07-31 in v0.129.0
---
-{{% deprecated-in 0.129.0 %}}
+{{< deprecated-in 0.129.0 >}}
Use [`hash.FNV32a`] instead.
[`hash.FNV32a`]: /functions/hash/FNV32a/
-{{% /deprecated-in %}}
+{{< /deprecated-in >}}
diff --git a/docs/content/en/functions/crypto/HMAC.md b/docs/content/en/functions/crypto/HMAC.md
index 1906689a2..5929826dd 100644
--- a/docs/content/en/functions/crypto/HMAC.md
+++ b/docs/content/en/functions/crypto/HMAC.md
@@ -3,15 +3,11 @@ title: crypto.HMAC
description: Returns a cryptographic hash that uses a key to sign a message.
categories: []
keywords: []
-action:
- aliases: [hmac]
- related:
- - functions/crypto/FNV32a
- - functions/crypto/MD5
- - functions/crypto/SHA1
- - functions/crypto/SHA256
- returnType: string
- signatures: ['crypto.HMAC HASH_TYPE KEY MESSAGE [ENCODING]']
+params:
+ functions_and_methods:
+ aliases: [hmac]
+ returnType: string
+ signatures: ['crypto.HMAC HASH_TYPE KEY MESSAGE [ENCODING]']
aliases: [/functions/hmac]
---
diff --git a/docs/content/en/functions/crypto/MD5.md b/docs/content/en/functions/crypto/MD5.md
index ba44660df..89bb8cc1b 100644
--- a/docs/content/en/functions/crypto/MD5.md
+++ b/docs/content/en/functions/crypto/MD5.md
@@ -3,15 +3,11 @@ title: crypto.MD5
description: Hashes the given input and returns its MD5 checksum encoded to a hexadecimal string.
categories: []
keywords: []
-action:
- aliases: [md5]
- related:
- - functions/crypto/FNV32a
- - functions/crypto/HMAC
- - functions/crypto/SHA1
- - functions/crypto/SHA256
- returnType: string
- signatures: [crypto.MD5 INPUT]
+params:
+ functions_and_methods:
+ aliases: [md5]
+ returnType: string
+ signatures: [crypto.MD5 INPUT]
aliases: [/functions/md5]
---
diff --git a/docs/content/en/functions/crypto/SHA1.md b/docs/content/en/functions/crypto/SHA1.md
index 204ff0384..c80dac0a4 100644
--- a/docs/content/en/functions/crypto/SHA1.md
+++ b/docs/content/en/functions/crypto/SHA1.md
@@ -3,15 +3,11 @@ title: crypto.SHA1
description: Hashes the given input and returns its SHA1 checksum encoded to a hexadecimal string.
categories: []
keywords: []
-action:
- aliases: [sha1]
- related:
- - functions/crypto/FNV32a
- - functions/crypto/HMAC
- - functions/crypto/MD5
- - functions/crypto/SHA256
- returnType: string
- signatures: [crypto.SHA1 INPUT]
+params:
+ functions_and_methods:
+ aliases: [sha1]
+ returnType: string
+ signatures: [crypto.SHA1 INPUT]
aliases: [/functions/sha,/functions/sha1]
---
diff --git a/docs/content/en/functions/crypto/SHA256.md b/docs/content/en/functions/crypto/SHA256.md
index 6fb657767..d0a66c069 100644
--- a/docs/content/en/functions/crypto/SHA256.md
+++ b/docs/content/en/functions/crypto/SHA256.md
@@ -3,15 +3,11 @@ 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]
+params:
+ functions_and_methods:
+ aliases: [sha256]
+ returnType: string
+ signatures: [crypto.SHA256 INPUT]
aliases: [/functions/sha256]
---
diff --git a/docs/content/en/functions/crypto/_index.md b/docs/content/en/functions/crypto/_index.md
index 5c95aab6e..5771630d4 100644
--- a/docs/content/en/functions/crypto/_index.md
+++ b/docs/content/en/functions/crypto/_index.md
@@ -1,12 +1,7 @@
---
title: Crypto functions
linkTitle: crypto
-description: Template functions to create cryptographic hashes.
+description: Use these functions to create cryptographic hashes.
categories: []
keywords: []
-menu:
- docs:
- parent: functions
---
-
-Use these functions to create cryptographic hashes.