#checksum #file-checksum #calculate

bin+lib rusty-hash

Simple cli utility to calculate file checksums

2 stable releases

Uses old Rust 2015

1.1.0 May 12, 2016
1.0.0 Feb 6, 2016

#20 in #file-checksum

MIT license

12KB
286 lines

rusty-hash

Simple utility for checksum calculation

Usage: rusty_hash [-c | -o | -p] [algorithms] <input>...

Algorithms:
    --md5       Enables md5 calculation.
    --sha[num]  Enables sha calculation. num can be [1, 256, 512]

Mode:
    Mutually exclusive.
    -c --check  Verifies checksum from files.
    -o --output Write calculations into files with corresponding extension.
    -p --print  Prints checksums to stdout. Default.

lib.rs:

Provides utilities for interaction with hashing algorithms

Dependencies

~4MB
~54K SLoC