mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Merge commit 'a6e635ca7d905d9ec3ffd708db2694f680b03aae'
This commit is contained in:
21
docs/content/en/functions/hash/FNV32a.md
Normal file
21
docs/content/en/functions/hash/FNV32a.md
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
title: hash.FNV32a
|
||||
description: Returns the 32-bit FNV (Fowler–Noll–Vo) 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
|
||||
```
|
20
docs/content/en/functions/hash/XxHash.md
Normal file
20
docs/content/en/functions/hash/XxHash.md
Normal 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
|
||||
```
|
12
docs/content/en/functions/hash/_index.md
Normal file
12
docs/content/en/functions/hash/_index.md
Normal 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.
|
Reference in New Issue
Block a user