4 releases

0.2.1 Sep 22, 2022
0.2.0 Sep 22, 2022
0.1.1 Sep 21, 2022
0.1.0 Sep 21, 2022

#2487 in Command line utilities

GPL-3.0-only

25KB
152 lines

Wagmi, Other currencies

Csum

Simple Rust CLI to checksum

License Rust
version
Continuous Integration
Release

Requirements

Install

With Cargo

cargo install csum
csum --version

From source

# Clone the repo
git clone https://github.com/theawiteb/csum.git
# Change directory to it
cd csum
# Build it with cargo
cargo build --release
# Move the binary to `/usr/bin` (Unix like system) (need permission to move in `/usr/bin`)
# You can change binary directory to `~/.cargo/bin` if its exists and its in `$PATH`
sudo mv ./target/release/csum /usr/bin/csum
# Print the version
csum --version

Binary

You can install binary file from releases page

Usage

USAGE:
    csum [OPTIONS] <FILE>

ARGS:
    <FILE>    File to get a sum of it

OPTIONS:
    -a, --algorithms <algorithms>...    Checksum algorithms [possible values: sha-1, sha2-256,
                                        sha2-224, sha2-384, sha2-512, sha3-256, sha3-512, blake,
                                        blake2, blake2s, blake3, crc64, crc32c, crc32, crc16, crc8,
                                        md5, md6-128, md6-256, md6-512, whirlpool, xor8]
    -h, --help                          Print help information
    -p, --plaintext                     Print a checksums without colors
    -u, --upper                         Return a hash in uppercase
    -v, --verify <HASH>                 Verify if your hash match any hash
    -V, --version                       Print version information

Images

Left Right

License

GNU General Public License version 3 of the license for more see https://www.gnu.org/licenses/

Dependencies

~7–18MB
~215K SLoC