Klaus' Log

Mo 06 Februar 2017

Command Line Tool to calculate SHA256 Tree Hash as used in Amazon AWS glacier

Posted by Klaus Eisentraut in C   

Amazon Glacier uses its own hash format which is called "SHA256 Tree Hash". The documentation of this hash format can be found http://docs.aws.amazon.com/amazonglacier/latest/dev/checksum-calculations.html.

I do not seem to be the only one who searched for an easy-to-use command-line tool. As I couldn't find an easy-to-use one for Linux, I decided to write my own.

The source code and some examples can be found at my github page.