https://github.com/bylickilabs/zip-file-hasher
A powerful Go-based CLI tool to securely hash the contents of ZIP files โ 100% local, GDPR-compliant, with zero external dependencies.
https://github.com/bylickilabs/zip-file-hasher
bylickilabs clitool cybersecurity dataintegrity devopsutilities dsgvocompliant filehashing forensictools golang goprojects jsonoutputparser localprocessingonly md5hasher minimaldependencies opensource release sha256 ziphasher
Last synced: 8 months ago
JSON representation
A powerful Go-based CLI tool to securely hash the contents of ZIP files โ 100% local, GDPR-compliant, with zero external dependencies.
- Host: GitHub
- URL: https://github.com/bylickilabs/zip-file-hasher
- Owner: bylickilabs
- License: mit
- Created: 2025-07-27T11:00:31.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-07-27T11:38:15.000Z (11 months ago)
- Last Synced: 2025-07-27T13:04:20.504Z (11 months ago)
- Topics: bylickilabs, clitool, cybersecurity, dataintegrity, devopsutilities, dsgvocompliant, filehashing, forensictools, golang, goprojects, jsonoutputparser, localprocessingonly, md5hasher, minimaldependencies, opensource, release, sha256, ziphasher
- Language: Go
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
|[](https://github.com/bylickilabs/ZIP-File-Hasher/actions/workflows/go.yml)|
|---|
# ๐ ZIP File Hasher
|
|
|---|
A powerful Go-based CLI tool to securely hash the contents of ZIP files โ 100% local, GDPR-compliant, with zero external dependencies.
โ
Go Developer
|  |
|---|
---
## ๐ Features
- ๐๏ธ 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
---
## ๐ฅ๏ธ Requirements
- [Install Go (version 1.18 or higher)](https://go.dev/dl/)
- Recommended: Windows 10 / 11
---
## ๐ฆ Project Structure
```plaintext
ziphasher/
โโโ main.go # Application entry point
โโโ hasher/
โ โโโ filehash.go # File hashing functionality
โโโ zip/
โโโ unzip.go # ZIP extraction logic
```
---
## โ๏ธ Initialization
```yarn
go mod init ziphasher
```
> โ ๏ธ The module name **must match** the import paths in `main.go`.
---
## โถ๏ธ Run
```powershell
go run main.go -zip="your_zip_file.zip" -algo=sha512 -json
```
### ๐ง Parameters
| Parameter | Description |
|-----------|-------------|
| `-zip` | Path to the ZIP file |
| `-algo` | Hash algorithm: `md5`, `sha1`, `sha256`, `sha512` |
| `-json` | Enables JSON output format |
---
## ๐จ Optional: Build
```powershell
go build -o ziphasher.exe
```
Then run via:
```powershell
.\ziphasher.exe -zip="test.zip" -algo=sha256 -json
```
---
## ๐ Example Output (JSON)
```json
{
"test.zip_extracted/readme.txt": "abc123def456...",
"test.zip_extracted/docs/manual.pdf": "f7b9aa22bb77..."
}
```
---
## ๐จโ๐ป Author & License
BYLICKILABS โ 2025
License: MIT
[LICENSE](LICENSE)