CRC-64/README.md

30 lines
1.1 KiB
Markdown
Raw Normal View History

CRC-64
======
2022-09-12 22:02:20 +02:00
Simple cross-platform command-line tool for computing **CRC-64** ([ECMA-182](https://www.ecma-international.org/wp-content/uploads/ECMA-182_1st_edition_december_1992.pdf)) 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]
```