crc32

Syntax

crc32(str, [cksum=0])

Arguments

str is a STRING scalar/vector.

cksum (optional) is a integral scalar/vector. The default value is 0.

Details

Create a CRC32 hash from STRING. The result is of data type INT.

Examples

a=crc32(`aa`cc,1);
a;
// output
[512829590,-1029100744]

typestr(a);
// output
FAST INT VECTOR