Sample code for 30+ languages & platforms
Dart

Example: Crypt2.CrcFile method

Demonstrates how to call the CrcFile method.

Chilkat Dart Downloads

Dart
import 'package:chilkat/chilkat.dart';

void main() {
  final crypt = CkCrypt2();

  final filePath = 'c:/temp/someFile.dat';

  final crc32 = crypt.crcFile('crc-32', filePath);
  print(crc32);

  final crc8 = crypt.crcFile('crc8', filePath);
  print(crc8);
}