Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'

This commit is contained in:
Bjørn Erik Pedersen
2024-08-09 15:17:43 +02:00
143 changed files with 3258 additions and 2109 deletions

View File

@@ -0,0 +1,21 @@
---
title: hash.FNV32a
description: Returns the 32-bit FNV (FowlerNollVo) non-cryptographic hash of the given string.
categories: []
keywords: []
action:
aliases: []
related:
- functions/hash/Xxhash
- functions/crypto/HMAC
- functions/crypto/MD5
- functions/crypto/SHA1
- functions/crypto/SHA256
returnType: int
signatures: [hash.FNV32a STRING]
aliases: [/functions/crypto.fnv32a]
---
```go-html-template
{{ hash.FNV32a "Hello world" }} → 1498229191
```

View File

@@ -0,0 +1,20 @@
---
title: hash.XxHash
description: Returns the 64-bit xxHash non-cryptographic hash of the given string.
categories: []
keywords: []
action:
aliases: [xxhash]
related:
- functions/hash/FNV32a
- functions/crypto/HMAC
- functions/crypto/MD5
- functions/crypto/SHA1
- functions/crypto/SHA256
returnType: string
signatures: [hash.XxHash STRING]
---
```go-html-template
{{ hash.XxHash "Hello world" }} → c500b0c912b376d8
```

View File

@@ -0,0 +1,12 @@
---
title: Hash functions
linkTitle: hash
description: Template functions to create non-cryptographic hashes.
categories: []
keywords: []
menu:
docs:
parent: functions
---
Use these functions to create non-cryptographic hashes.