iCrypto_TestCRC16

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Crypto > iCrypto_CRC16 >

iCrypto_TestCRC16

 

Description

 

Verifies a 16-bit checksum using a well know set of bytes.

 

Syntax

 

testSucceeded = iCrypto_TestCRC16()

 

Returns

 

Number, non-zero for success, otherwise zero.

 

Remarks

 

   This function is for internal use only.

 

Restrictions

 

See also

 

iCrypto_CRC16, iCrypto_CRC32, iCrypto_TestCRC32

 

Examples

 

Uses "Crypto"

 

if iCrypto_TestCRC16() then

 msgbox 0, "The iCrypto's implementation of CRC16 is ok!"

end if