digest.hash_xxh32

STRINGdigest.hash_xxh32STRINGs

Available inall subroutines.

Returns an xxHash XXH32 (H2) hash for the string s. This is a non-cryptographic hash.

Example

declare local var.hash STRING;
set var.hash = digest.hash_xxh32("abc");
# var.hash is now "32d153ff"