![]() |
---|
A powerful Go-based CLI tool to securely hash the contents of ZIP files – 100% local, GDPR-compliant, with zero external dependencies.
- 🗜️ Handles
.zip
files only - 📁 Extracts ZIP content into temporary directories
- 🔐 Supported hash algorithms:
md5
,sha1
,sha256
,sha512
- 🧾 Optional JSON output for automation and integration
- 🛡️ Fully local processing – no upload, no cloud, no tracking
- Install Go (version 1.18 or higher)
- Recommended: Windows 10 / 11
ziphasher/
├── main.go # Application entry point
├── hasher/
│ └── filehash.go # File hashing functionality
└── zip/
└── unzip.go # ZIP extraction logic
go mod init ziphasher
⚠️ The module name must match the import paths inmain.go
.
go run main.go -zip="your_zip_file.zip" -algo=sha512 -json
Parameter | Description |
---|---|
-zip |
Path to the ZIP file |
-algo |
Hash algorithm: md5 , sha1 , sha256 , sha512 |
-json |
Enables JSON output format |
go build -o ziphasher.exe
Then run via:
.\ziphasher.exe -zip="test.zip" -algo=sha256 -json
{
"test.zip_extracted/readme.txt": "abc123def456...",
"test.zip_extracted/docs/manual.pdf": "f7b9aa22bb77..."
}
BYLICKILABS – 2025
License: MIT
LICENSE