Slashsum ๐
Multi-threaded file checksum calculator
โก Calculate multiple file checksums simultaneously with blazing-fast performance using Rust's concurrency capabilities.
๐ Table of Contents
๐ Quick Start
# Linux (Snap Store - recommended)
sudo snap install slashsum
# Linux (Debian/Ubuntu)
sudo apt install ./slashsum_v*_amd64.deb
# Windows (download installer from releases page)
# Run slashsum-setup-user-v*.exe
# Calculate checksums
slashsum myfile.iso
# Save results to file
slashsum myfile.iso --save
โจ Features
- โก Parallel computation of 5 hash algorithms simultaneously
- ๐ Supported algorithms:
- CRC32 (IEEE 802.3)
- MD5
- SHA-1
- SHA-256
- SHA-512
- ๐ Large file support (>10GB tested)
- ๐พ Save results to
.checksum files
- โฑ๏ธ Execution time metrics
- ๐ฅ๏ธ Cross-platform (Windows/Linux/macOS)
- ๐ฏ Zero configuration - works out of the box
- ๐ชถ Lightweight - single binary, no dependencies
๐ธ Screenshot

๐ฆ Installation
Option 1: Linux (Snap Store) - Recommended โญ
sudo snap install slashsum
๐ Auto-updates enabled. View on Snap Store
Option 2: ๐ง Linux (Portable)
Download the portable package from the releases page:
tar -xzvf slashsum-linux-amd64-portable.tar.gz
cd slashsum-linux-amd64-portable
sudo ./install.sh
Option 3: ๐ง Linux (DEB - Debian/Ubuntu/Linux Mint)
Download the .deb file from the releases page:
sudo apt install ./slashsum_<version>_amd64.deb
Option 4: ๐ง Linux (Snap from GitHub Release)
sudo snap install --dangerous slashsum_<version>_amd64.snap
Option 5: ๐ช Windows (Installer) - Recommended โญ
Download the installer from the releases page:
| Installer |
Description |
Admin Required |
slashsum-setup-user-<version>.exe |
๐ค Current user only |
No |
slashsum-setup-admin-<version>.exe |
๐ System-wide |
Yes |
Option 6: ๐ช Windows (Portable)
Download slashsum-windows-amd64-portable.zip from the releases page:
Expand-Archive slashsum-windows-amd64-portable.zip -DestinationPath .
cd slashsum-windows-amd64-portable
.\install.bat
Option 7: ๐ macOS (Portable)
Download the portable package from the releases page:
tar -xzvf slashsum-darwin-amd64-portable.tar.gz
cd slashsum-darwin-amd64-portable
sudo ./install.sh
Option 8: ๐จ Build from source
Prerequisites: Rust toolchain (1.70+)
git clone https://github.com/NDXDeveloper/slashsum
cd slashsum
cargo build --release
The binary will be available at target/release/slashsum.
๐ ๏ธ Usage
Basic Syntax
slashsum <FILE> [OPTIONS]
Options
| Option |
Description |
--save |
Save checksums to a .checksum file |
-h, --help |
Print help information |
--version |
Print version and license information |
Examples
# Calculate checksums for a file
slashsum document.pdf
# Calculate and save results
slashsum large_file.iso --save
# Creates: large_file.iso.checksum
# Display help
slashsum --help
# Display version and license
slashsum --version
# Process multiple files (shell loop)
for f in *.iso; do slashsum "$f" --save; done
Output Format
File: large_file.iso
Size: 4.68 GB (5033165312 bytes)
CRC32: 8d7be4e9
MD5: a3b9d148c5f8d237f735a5d9795a2345
SHA1: 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed
SHA256: b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9
SHA512: 309ecc489c12d6eb4cc40f50c902f2b4d0ed77ee511a7c7a9bcd3ca86d4cd86f989dd35bc5ff499670da34255b45b0cfd830e81f605dcf7dc5542e93ae9cd76f
Time: 12.45s
๐ Performance Benchmarks
๐ฅ๏ธ Test Environment
- CPU: AWS EC2 t2.xlarge (4 vCPUs)
- RAM: 16GB
- Storage: EBS SSD (gp3)
- OS: Ubuntu 22.04 LTS
๐ Results
| File Size |
Slashsum |
sha256sum |
md5sum |
Improvement |
| 100 MB |
0.45s |
0.28s |
0.15s |
5 hashes in ~1x time |
| 1 GB |
2.34s |
2.10s |
1.20s |
5 hashes in ~1x time |
| 10 GB |
25.12s |
22.50s |
12.80s |
5 hashes in ~1x time |
| 50 GB |
128.70s |
115.00s |
65.00s |
5 hashes in ~1x time |
๐ก Key insight: Slashsum calculates 5 different checksums in approximately the same time it takes traditional tools to calculate just 1 checksum. This is because the bottleneck is disk I/O, not CPU.
๐ Throughput
| Storage Type |
Read Speed |
Slashsum Throughput |
| HDD (7200rpm) |
~150 MB/s |
~150 MB/s |
| SSD (SATA) |
~550 MB/s |
~500 MB/s |
| NVMe SSD |
~3500 MB/s |
~2000 MB/s |
โ๏ธ Comparison with Alternatives
| Feature |
Slashsum |
sha256sum |
md5sum |
hashdeep |
| CRC32 |
Yes |
No |
No |
No |
| MD5 |
Yes |
No |
Yes |
Yes |
| SHA-1 |
Yes |
No |
No |
Yes |
| SHA-256 |
Yes |
Yes |
No |
Yes |
| SHA-512 |
Yes |
No |
No |
No |
| All 5 at once |
Yes |
No |
No |
No |
| Parallel processing |
Yes |
No |
No |
Yes |
| Single binary |
Yes |
Yes |
Yes |
Yes |
| Cross-platform |
Yes |
Linux/macOS |
Linux/macOS |
Yes |
| Progress indicator |
No |
No |
No |
Yes |
| Recursive scan |
No |
No |
No |
Yes |
โ
When to use Slashsum
- You need multiple checksums for the same file
- You want to verify file integrity with redundancy
- You're creating release artifacts that need multiple hashes
- You want one command instead of running 5 tools
โ ๏ธ When to use alternatives
- You only need one specific hash
- You need to recursively scan directories (use
hashdeep)
- You need a progress bar for very large files
๐ง How It Works
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ SLASHSUM โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ โ
โ โโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ File โโโโ>โ Reader โโโโโ>โ Crossbeam Channel โ โ
โ โ (disk) โ โ (1MB chunks) โ โ (broadcaster) โ โ
โ โโโโโโโโโโโ โโโโโโโโโโโโโโโโ โโโโโโโโโโโโฌโโโโโโโโโโโ โ
โ โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโ โ
โ โ โ โ โ
โ v v v โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ ... โ
โ โ CRC32 โ โ MD5 โ โ SHA-1 โ โ
โ โ (thread) โ โ (thread) โ โ (thread) โ โ
โ โโโโโโฌโโโโโโ โโโโโโฌโโโโโโ โโโโโโฌโโโโโโ โ
โ โ โ โ โ
โ v v v โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ Result Aggregator โ โ
โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ โ
โ โ โ
โ v โ
โ โโโโโโโโโโโโโโ โ
โ โ Output โ โ
โ โโโโโโโโโโโโโโ โ
โ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ๏ธ Processing Steps
- ๐ File Reading: Buffered reading in 1MB chunks for optimal I/O
- ๐ก Data Distribution: Uses crossbeam channels to broadcast chunks to all hash workers
- โก Parallel Processing: Dedicated thread for each hash algorithm (5 threads)
- ๐ Result Aggregation: Waits for all threads to complete and collects results
- ๐ Output Formatting: Human-readable sizes and standardized hash formats
๐ค Why 1MB chunks?
- โ Too small (4KB): High overhead from channel operations
- โ Too large (100MB): High memory usage, cache misses
- โ
1MB: Sweet spot balancing throughput and memory efficiency
๐ง Technical Details
| Property |
Value |
| Binary size |
~650 KB (Linux), ~700 KB (Windows) |
| Memory usage |
~10-15 MB (5 threads ร 1MB buffer + overhead) |
| Rust version |
1.70+ (stable) |
| Architecture |
x86_64 only |
| Dependencies |
None (static binary) |
| Threads |
5 (one per hash algorithm) + 1 (file reader) |
| Buffer size |
1 MB per chunk |
| Channel capacity |
1024 chunks |
๐ฅ๏ธ Supported Platforms
| Platform |
Architecture |
Format |
| ๐ง Linux |
x86_64 |
Binary, DEB, Snap, tar.gz |
| ๐ช Windows |
x86_64 |
EXE installer, ZIP portable |
| ๐ macOS |
x86_64 |
tar.gz portable |
โ FAQ
๐ค Why calculate 5 checksums instead of just one?
Different use cases require different algorithms: