Tool to compute SHA256 Tree Hash [closed]

I've started using AWS Glacier, and noticed that it hashes the files using an algorithm called SHA-256 Tree Hash.

To my surprise, this algorithm is different from SHA-256, so I can't use the tools I'm used to, to compare hashes and verify file integrity.

Do you know a Windows tool, if possible integrated in the context menu, to compute the SHA-256 Tree Hash of a file?

I'd also accept a Linux command-line tool, as a second choice :-)


After a bit more research, it looks like the concept of SHA-256 Tree Hash is something specific to Amazon Glacier, hence the difficulty to find any tool that supports it.

However, the Glacier documentation provides sample code to compute the hash, in Java and C#. Both compile into a command-line tool that computes the hash of the file given as an argument.

I just copied and pasted the C# code in the free Visual C# 2010 Express, compiled it, and I now have the command line tool I was looking for!