Navigation:  thinBasic Modules > Crypto >

iCrypto_CRC32

Previous pageReturn to chapter overviewNext page

 

Description

 

The iCrypto_CRC32 () function calculates a 32-bit checksum (Cyclic Redundancy Check) for a specified string.

 

Syntax

 

iCrypto_CRC32(sText AS STRING, nSeed AS NUMBER) AS NUMBER

 

Returns

 

Returns AS NUMBER

The 32-bit checksum.

 

Parameters

 

Name

Type

Optional

Meaning









sText AS STRING

The data string

  nSeed AS NUMBER

  The seed value

 

Remarks

 

 

Restrictions

 

 

See also

 

iCrypto_CRC16, iCrypto_TestCRC16, iCrypto_TestCRC32

 

Examples

 

iCrypto_CRC32("This is a Test for CRC32", 32)

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com