Lua
Lua
Example: Crypt2.CrcFile method
Demonstrates how to call the CrcFile method.Chilkat Lua Downloads
local chilkat = require("chilkat")
local crypt = chilkat.Crypt2.new()
local filePath = "c:/temp/someFile.dat"
local crc32 = crypt:crc_file("crc-32", filePath)
print(crc32)
local crc8 = crypt:crc_file("crc8", filePath)
print(crc8)