Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theawiteb/csum

Simple Rust CLI to checksum
https://github.com/theawiteb/csum

Last synced: 13 days ago
JSON representation

Simple Rust CLI to checksum

Awesome Lists containing this project

README

        

# Csum
Simple Rust CLI to checksum


License


Rust




version



Continuous Integration




Release

## Requirements
* [Rust](https://www.rust-lang.org/)

## Install
### With Cargo
```bash
cargo install csum
csum --version
```
### From source
```bash
# 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](https://github.com/theawiteb/csum/releases/latest)

## Usage
```
USAGE:
csum [OPTIONS]

ARGS:
File to get a sum of it

OPTIONS:
-a, --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 Verify if your hash match any hash
-V, --version Print version information
```

## Images

|Left|Right|
|:-:|:-:|
|![](https://i.suar.me/xWr7M/l)|![](https://i.suar.me/wXyxM/l)|
|![](https://i.suar.me/72Emm/l)|![](https://i.suar.me/VXGYr/l)|

## License
GNU General Public License version 3 of the license for more see