No description or website provided.
Go
Latest commit 2d991b1 Dec 1, 2016 @raydenvm raydenvm committed on GitHub Add files via upload
Permalink
Failed to load latest commit information.
external/github.com Seghash sources Nov 11, 2016
LICENSE Update LICENSE Nov 10, 2016
README.md
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.go
segmenthash_test.go Seghash sources Nov 11, 2016
util.go Seghash sources Nov 11, 2016
verify.go Seghash sources Nov 11, 2016

README.md

seghash

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: https://golang.org/doc/install
  2. Perform these instructions: https://golang.org/doc/install#testing
  3. Run go get github.com/atola-technology/seghash

Results:

Source files will be downloaded to the folder: GOPATH/src/github.com/atola-technology/seghash

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

Examples

Segmented hashes calculation:

seghash calc Drive.img sha1

Segmented hashes verification:

seghash verify Drive.img Hashes-sha1.csv