mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-22 21:42:50 +02:00
Merge commit '5be51ac3db225d5df501ed1fa1499c41d97dbf65'
This commit is contained in:
@@ -3,18 +3,15 @@ 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]
|
||||
params:
|
||||
functions_and_methods:
|
||||
aliases: [xxhash]
|
||||
returnType: string
|
||||
signatures: [hash.XxHash STRING]
|
||||
---
|
||||
|
||||
```go-html-template
|
||||
{{ hash.XxHash "Hello world" }} → c500b0c912b376d8
|
||||
```
|
||||
|
||||
[xxHash](https://xxhash.com/) is a very fast non-cryptographic hash algorithm. Hugo uses [this Go implementation](https://github.com/cespare/xxhash).
|
||||
|
Reference in New Issue
Block a user