"Sputnik" help  
Sputnik Help
BinaryCrc32(<binary>)

Description

Calculates the cyclic redundancy check (CRC-32) value for a binary string.

Parameters

<binary> The binary string for which the CRC-32 value is to be calculated.

Return Value

Success: Returns integer representing the CRC-32 value of the binary string.
Failure: Returns 0.

Remarks

The CRC-32 algorithm is used to detect errors in data transmission by generating a checksum value.
The function calculates the CRC-32 value using the binary string as input.
The resulting CRC-32 value can be used for error detection and verification purposes.

Related

BinaryCrc16, BinaryCrc64

Example

Generate checksum:

my $binary = (binary)"Hello World";
say BinaryCrc32($binary);
// PRINTS
// 16107

 


Contact
Cheryl (uberfox@hotmail.com)
Homepage
http://ubersoft.org