Skip to content

TheAwiteb/csum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/