Sample code for 30+ languages & platforms
Node.js

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Node.js Downloads

Node.js
NODEJS_PRELUDE

function chilkatExample() {

    var crypt = new chilkat.Crypt2();

    var filePath = "c:/temp/someFile.dat";

    var crc32 = crypt.CrcFile("crc-32",filePath);
    console.log(crc32);

    var crc8 = crypt.CrcFile("crc8",filePath);
    console.log(crc8);

}

chilkatExample();