digest.hash_crc32b

STRINGdigest.hash_crc32bSTRINGs

Available in all subroutines.

Returns a CRC-32b digest for the string s. CRC-32b is not a cryptographic hash and is typically used as a fast error-detecting code for detecting changes in raw data. CRC-32b is a different algorithm than CRC-32 and is not likely to return the same results given the same input string.

Example

declare local var.crc32b STRING;
set var.crc32b = digest.hash_crc32b("123456789");
# var.crc32b is now "2639f4cb"