| Crates.io | sumatradigest |
| lib.rs | sumatradigest |
| version | 0.2.0 |
| created_at | 2024-08-12 17:56:02.712026+00 |
| updated_at | 2024-08-28 18:01:53.050621+00 |
| description | A Memory-Safe Hash Digest Tool Written In Rust |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1334869 |
| size | 50,448 |
An easy to use hashing tool with security in mind that supports extra security measures (special checksums). It uses pure-rust, aims to be easy to use, and supports various features like checksums (-c) and writing to file (-w). It also implemnts zeroize for privacy. There are variable digest lengths for certain hash functions that use the argument d=<bits> or d=<bytes>.
cargo install sumatradigestcargo build --releaseIf using executable, use the following
./sumatradigest <command> [Path]
If installed via cargo, you can just use sumatradigest.
sumatradigest
sumatradigest help
sumatradigest <hasher> [Path]
sumatadigest sha1 [Path]
sumatradigest sha1 ExampleFile.txt
Get SHA224 Digest
sumatradigest sha2 -d=224 ExampleFile.txt
Get SHA256 Digest
sumatradigest sha2 ExampleFile.txt
Get SHA512 digest
sumatradigest sha2 -d=512 ExampleFile.txt
This function returns a blake2b checksum of 8-bytes.
sumatradigest <hasher> -c [Path]
This function writes it to a i
sumatradigest <hasher> -w [Path]
This function writes to a file and prints the checksum.
sumatradigest <hasher> -c -w [Path]
This is the list of hashers: