#checksum #endianness #32-bit #file

app chksum3

Calculates an 8- or 32-bit little-endian checksum

5 unstable releases

0.5.0 Aug 22, 2022
0.4.1 Aug 22, 2022
0.4.0 Jul 13, 2022
0.3.2 May 8, 2022
0.3.1 May 8, 2022

#18 in #32-bit

MIT license

7KB
135 lines

CHKSUM3

Crates.io docs.rs Crates.io Build Status

Calculates the 8- or 32-bit little-endian checksum for a file or files.

Installation

Cargo

cargo install chksum3

From source

Requirements

  • Rust >= 1.16.0
git clone https://git.gryffyn.io/monarch/chksum3.git
cd chksum3
cargo build --release

Usage

Usage: chksum3 [<paths...>] [-b <bits>]

Calculates 8- and 32-bit little endian checksums.
If no paths are specified, or path is "-", checksum is calculated from stdin.

Positional Arguments:
  paths             input file(s)

Options:
  -b, --bits        select between 8 or 32 bit sum
  --help            display usage information

Dependencies

~0.6–1.3MB
~27K SLoC