Navigation: thinBasic Modules > Crypto > iCrypto_CRC16 > iCrypto_TestCRC16 |
|
Description
The iCrypto_TestCRC16() function verifies a 16-bit checksum using a well know set of bytes.
Syntax
iCrypto_TestCRC16() 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_TestCRC32
Examples
IF iCrypto_TestCRC16() THEN
MSGBOX 0, "The iCrypto's implementation of CRC16 it's ok!"
END IF
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |