hash.XxHash
Returns the 64-bit xxHash non-cryptographic hash of the given string.
- Syntax
- hash.XxHash STRING
- Returns
- string
- Alias
- xxhash
Usage
The hash.XxHash function returns the 64-bit xxHash non-cryptographic hash of the given string, as a hexadecimal string.
xxHash is a fast non-cryptographic hash algorithm. Hugo uses this Go implementation.
Examples
{{ hash.XxHash "Hello world" }} → c500b0c912b376d8Last updated:
October 21, 2026
:
content: Apply style guide to hash functions (2d8f2b4b9)
Improve this page