Project

treehash

0.01
No commit activity in last 3 years
No release in over 3 years
Calculates the SHA256 tree hash of a file or string. It also includes a command line tool.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0.8.7
~> 2.0
 Project Readme

Treehash Build Status

Amazon Glacier uses a tree of SHA256 hashes. This is a tool to help you verify that your files were uploaded safely to Glacier.

Installing it:

$ gem install treehash

Usage

Library:

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.

Command-Line:

$ treehash filename