Amazon Glacier uses a tree of SHA256 hashes. This is a tool to help you verify that your files were uploaded safely to Glacier.
$ gem install treehash
Treehash::calculate_tree_hash string_or_io
Do note that when a file object is passed, the read pointer is moved to the end of the file.
$ treehash filename