Rust
Rust
Example: Crypt2.CrcFile method
Demonstrates how to call the CrcFile method.Chilkat Rust Downloads
let crypt = chilkat::Crypt2::new();
let file_path = "c:/temp/someFile.dat".to_string();
let crc32 = crypt.crc_file("crc-32", &file_path);
println!("{}", crc32);
let crc8 = crypt.crc_file("crc8", &file_path);
println!("{}", crc8);