Cross-platform CRC-64 command-line utility.
Go to file
2022-09-19 21:41:32 +02:00
dist Added simple build scripts for Linux, FreeBSD, Win32 and MacOS X platforms. 2022-09-17 18:27:25 +02:00
win32 Various improvements to options parsing. 2022-09-15 21:52:33 +02:00
.gitignore Added solution for MSVC. 2022-09-09 21:50:27 +02:00
crc64.c Added support for the "--append-length" option. 2022-09-19 21:41:32 +02:00
LICENSE Added README file. 2022-09-10 22:04:00 +02:00
Makefile Adjust buffer size + small improvement to is_directory() function + code clean-up. 2022-09-17 13:43:28 +02:00
README.md Various improvements to options parsing. 2022-09-15 21:52:33 +02:00

CRC-64

Simple cross-platform command-line tool for computing CRC-64 (ECMA-182) checksums.

Generator polynomial: 0x42F0E1EBA9EA3693

Synopsis:
   crc64.exe [OPTIONS] [<file_1> [<file_2> ... <file_n>]]

Options:
   -h --help --version  Show help screen / show version information
   -b --binary          Output digest in binary format (default is hex-string)
   -d --decimal         Output digest in decimal string format
   -u --upper-case      Print digest as upper-case (default is lower-case)
   -p --no-padding      Print digest *without* any leading zeros
   -s --silent          Suppress error messages
   -e --ignore-errors   Ignore I/O errors and proceeed with the next file
   -f --no-flush        Do *not* flush output stream after each file
   -z --init-with-zero  Initialize CRC with 0x000..000 (default is 0xFFF..FFF)
   -n --negate-final    Negate the final CRC result
   -t --self-test       Run integrated self-test and exit program

One output line is generated per input file:

<CRC64-Checksum>[SP]<File-Size>[SP]<File-Name>[LF]