standard.lib.cripto.crc32

crc32 is available since version 1.0.

Prototype:

Generates the cyclic redundancy checksum polynomial of 32-bit lengths of the str. This is usually used to validate the integrity of data being transmitted.

Parameters

str
[in] The string of which crc32 is needed

Description:

import standard.lib.cripto

class Main {
function Main() {
echo "The crc32 of 'test' is : "+crc32("test");
}
}

Results
The crc32 of 'test' is : 3632233996

Return value:

returns the CRC as a 32-bit number