iCrypto_CRC32

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > Crypto >

iCrypto_CRC32

 

Description

 

Calculates a 32-bit checksum (Cyclic Redundancy Check) for a specified string.

 

Syntax

 

checksum32 = iCrypto_CRC16(sText, nSeed)

 

Returns

 

Number, 32-bit checksum

 

Parameters

 

Name

Type

Optional

Meaning

sText

String

No

Input text to calculate CRC for

nSeed

Number

No

Seed for the calculation

 

Remarks

 

Restrictions

 

See also

 

iCrypto_CRC16, iCrypto_TestCRC16, iCrypto_TestCRC32

 

Examples

 

Uses "Crypto"

 

MsgBox 0, iCrypto_CRC32("This is a test", 32)