Skip to content

avakarev/hashify

Repository files navigation

hashify

Latest Release CI Status Go Report Card

CLI utility to calculate file checksums

Installation

macOS

With Homebrew: brew tap avakarev/tap && brew install hashify

Binaries

Binaries for Linux and macOS

From source

Make sure you have a working Go environment (Go 1.12 or higher is required). See the install instructions.

Compiling hashify is easy, simply run:

git clone https://github.com/avakarev/hashify.git
cd hashify
make build

Usage

○ $:> hashify -md5 -sha256 go.mod go.sum test/file
go.mod
   md5 | 88e79e82744fd709ca1c5918f88fe9e9
sha256 | 03f3b24637f943604160573177815de6067c89c1993e38ea4d39595db246d51c

go.sum
   md5 | 9073179bce05f8762267b2017ecd8e5c
sha256 | 270473f17ead3f907fda3372bfc3a4fed2a45f3527af79cb5d84fbec9c50cfbf

test/file
   md5 | 8ddd8be4b179a529afa5f2ffae4b9858
sha256 | 03ba204e50d126e4674c005e04d82e84c21366780af1f43bd54a37816b6ab340

Supported hash functions are:

  • CRC32
  • MD5
  • SHA1
  • SHA224
  • SHA256
  • SHA384
  • SHA512

License

hashify is licensed under MIT license. (see LICENSE)