Skip to content

A powerful Go-based CLI tool to securely hash the contents of ZIP files – 100% local, GDPR-compliant, with zero external dependencies.

License

Notifications You must be signed in to change notification settings

bylickilabs/ZIP-File-Hasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go

🔐 ZIP File Hasher

logo

A powerful Go-based CLI tool to securely hash the contents of ZIP files – 100% local, GDPR-compliant, with zero external dependencies.

✅ Go Developer
certificate_of_completion_go

🚀 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


📦 Project Structure

ziphasher/
├── main.go                 # Application entry point
├── hasher/
│   └── filehash.go        # File hashing functionality
└── zip/
    └── unzip.go           # ZIP extraction logic

⚙️ Initialization

go mod init ziphasher

⚠️ The module name must match the import paths in main.go.


▶️ Run

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

go build -o ziphasher.exe

Then run via:

.\ziphasher.exe -zip="test.zip" -algo=sha256 -json

📑 Example Output (JSON)

{
  "test.zip_extracted/readme.txt": "abc123def456...",
  "test.zip_extracted/docs/manual.pdf": "f7b9aa22bb77..."
}

👨‍💻 Author & License

BYLICKILABS – 2025

License: MIT
LICENSE

Releases

No releases published

Packages

No packages published

Languages