Navigation: thinBasic Modules > Crypto > iCrypto_CRC16 |
|
Description
The iCrypto_CRC16() function calculates a 16-bit checksum (Cyclic Redundancy Check) for a specified string.
Syntax
iCrypto_CRC16(sText AS STRING, nSeed AS NUMBER) AS NUMBER
Returns
Returns AS NUMBER
The 16-bit checksum.
Parameters
Name |
Type |
Optional |
Meaning |
sText AS STRING
The data string
nSeed AS NUMBER
The seed value
Remarks
Restrictions
See also
iCrypto_CRC32, iCrypto_TestCRC16, iCrypto_TestCRC32
Examples
iCrypto_CRC16("This is a Test for CRC16", 16)
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |