
Net::FCP::Key::CHK - manage CHK keys.

use Net::FCP::Key::CHK; my $key = new Net::FCP::Key::CHK; my $key = new_from_uri Net::FCP::Key::CHK $uri; my $key = new_from_data Net::FCP::Key::CHK $data, $metadata; ... more to come

Heavily under development, don't use :)
Generate a CHK from the given data and metadata strings.
Returns the size of the data (in bytes).
Return the store digest/hash.
Returns the keynumber (version?)
Return the full CHK.


Not heavily tested.

Marc Lehmann <schmorp@schmorp.de> http://home.schmorp.de/