Skip to content

hurfy/hashGo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hashGo
open issues version license

Simple hashing for your files
Built with love • Brought to you by @hurfy and other contributors

Introduction

This lightweight and fast project allows you to generate hash sums for files in a specified directory. Hashing is useful for quickly identifying changes in files, comparing versions, or ensuring that files haven't been altered. Its efficiency makes it ideal for processing large numbers of files without a significant delay.

Features

  • Supports the following hashing algorithms: md5, sha1, sha256, sha512.
  • Works with files in any specified directory.
  • Ability to save hash results in a JSON file for easy reference.
  • Option to exclude directories from the hashing process.
  • Simple command-line interface for easy usage.

Quick Start

Use make to build:

make build

Or do it yourself:

go build -ldflags "-s -w" ./cmd/hashGo

*You can also see other configurations of Make

Startup example:

hashGo.exe -p C:/Games/SuperDuperGame -o data -f sha256 -e Img;Video -s

Flags

Flag Name Default Description
p Input Path Current Root directory
o Output File None Output file name(console output if None)
f Format md5 Hash format(md5, sha1, sha256, sha512)
s Subdirs false Include subdirectories
e Exclude dirs None Exclude directories(semicolon-separated)

About

Simple hashing for your files

Resources

License

Stars

Watchers

Forks

Packages

No packages published