https://github.com/p2js/quickhash
small CLI project in rust to quickly get hashes/checksums of desktop files
https://github.com/p2js/quickhash
Last synced: 10 months ago
JSON representation
small CLI project in rust to quickly get hashes/checksums of desktop files
- Host: GitHub
- URL: https://github.com/p2js/quickhash
- Owner: p2js
- Created: 2023-05-28T17:27:20.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-30T21:14:33.000Z (about 3 years ago)
- Last Synced: 2025-04-07T01:31:42.416Z (about 1 year ago)
- Language: Rust
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# quickhash
Quickhash is a zero-dependency CLI applet to quickly get checksums of desktop files, built in rust.
The code currently features self-made implementations for MD5 and SHA256 checksums.
Because quickhash currently loads entire source files into memory before computing the checksums, its use is currently only recommended on small files.
## Building
With rust installed, a simple `cargo build --release` should produce the executable you need to get started.
## Usage
```quickhash sources [--hash h]```
- `quickhash` should be replaced with the path of the executable.
- `sources` should be a space-separated list of directories for the files that checksums should be computed for.
- `--hash h` is an optional flag, where h is the hashing algorithm you want to use (MD5/SHA256). Quickhash will output MD5 checksums by default.