No description or website provided.
Latest commit 2d991b1 Dec 1, 2016 @raydenvm raydenvm committed on GitHub Add files via upload
Failed to load latest commit information.
external/ Seghash sources Nov 11, 2016
LICENSE Update LICENSE Nov 10, 2016
Segmented Hashes White Paper.pdf Add files via upload Dec 1, 2016
args.go Seghash sources Nov 11, 2016
argsvalidation.go Seghash sources Nov 11, 2016
calc.go Seghash sources Nov 11, 2016
segmenthash_test.go Seghash sources Nov 11, 2016
util.go Seghash sources Nov 11, 2016
verify.go Seghash sources Nov 11, 2016


seghash is a free tool that allows to:

  • calculate segmented hashes of image
  • verify calculated segmented hashes

Supported hash types: MD5, SHA1, SHA224, SHA256, SHA384, SHA512

How segmented hashing is it different from regular hashing?

With regular hashing, you get a single hash for the entire image.

With segmented hashing, you end up with many hashes of corresponding LBA ranges (chunks) of the image. The sum of these LBA ranges represents the entire image, just not necessarily in sequential order. By validating all hashes in a set you can still prove that the entire image was not modified.

Read more in Segmented Hashes Whitepaper

Download binaries

Download and compile sources

You can skip steps 1 and 2 if you did them previously.

  1. Download and install Go:
  2. Perform these instructions:
  3. Run go get


Source files will be downloaded to the folder: GOPATH/src/

Binary executable file will be compiled to the folder: GOPATH/bin


Segmented hashes calculation:

seghash calc Drive.img sha1

Segmented hashes verification:

seghash verify Drive.img Hashes-sha1.csv