Navigation:  thinBasic Modules > Crypto > iCrypto_CRC32 >

iCrypto_TestCRC32

Previous pageReturn to chapter overviewNext page

 

Description

 

The iCrypto_TestCRC32() function verifies a 32-bit checksum using a well know set of bytes.

 

Syntax

 

iCrypto_TestCRC32() AS NUMBER

 

Returns

 

Returns AS NUMBER

   If the function succeeds, the return value is nonzero.

   If the function fails, the return value is zero.

 

Parameters

 

Name

Type

Optional

Meaning









 

Remarks

 

   This function is for internal use only.

 

Restrictions

 

 

See also

 

iCrypto_CRC16, iCrypto_CRC32, iCrypto_TestCRC16

 

Examples

 

IF iCrypto_TestCRC32() THEN

  MSGBOX 0, "The iCrypto's implementation of CRC32 it's ok!"

END IF