NAME

Net::Amazon::TreeHash - An implementation of the Amazon AWS TreeHash checksum algorithm

VERSION

Version 0.71

SYNOPSIS

This module implements TreeHash algorithm for Amazon AWS Glacier API (version 2012-06-01)

Usage:

        use Net::Amazon::TreeHash;

        my $th = Net::Amazon::TreeHash->new();
        
        $th->eat_data(\$mydata);
        ...
        
        $th->calc_tree();
        my $hash = $th->get_final_hash();

NOT IMPLEMENTED

A function to get hash of the part of data (such function would be usefull for Glacier multipart upload)

SEE ALSO

An application for AWS Glacier synchronization. It is available at https://github.com/vsespb/mt-aws-glacier.

AUTHOR

Victor Efimov <vs at vs-dev dot com>

https://github.com/vsespb/mt-aws-glacier

BUGS

Does not work for 0-length files (however it's useless for Glacier).