Sample code for 30+ languages & platforms
Lianja

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Lianja Downloads

Lianja
loCrypt = createobject("CkCrypt2")

lcFilePath = "c:/temp/someFile.dat"

lnCrc32 = loCrypt.CrcFile("crc-32",lcFilePath)
? str(lnCrc32)

lnCrc8 = loCrypt.CrcFile("crc8",lcFilePath)
? str(lnCrc8)


release loCrypt