HUGO
News Docs Themes Community GitHub

hash.XxHash

Returns the 64-bit xxHash non-cryptographic hash of the given string.

Syntax

hash.XxHash STRING

Returns

string

Alias

xxhash
{{ hash.XxHash "Hello world" }} → c500b0c912b376d8

xxHash is a very fast non-cryptographic hash algorithm. Hugo uses this Go implementation.


Last updated: January 1, 0001
Improve this page