SHA256-treehash calculator for Amazon Glacier

This is a small utility to calculate sha256 tree hashes as used by Amazon's glacier data storage service.
sha256 tree hashes are calculated from a tree of regular sha256 hashes, normal sha256 hashing programs won't return the same result. Take a look at amazon's documentation to learn more about sha256 tree hashes.

  • Download calc-sha256-treehash.
  • You will also need the boto python module, version 2.8 or higher.

    Invoke with: ./calc-sha256-treehash filename